// ignore_for_file: invalid_annotation_target import 'package:freezed_annotation/freezed_annotation.dart'; part 'recent_changes.freezed.dart'; part 'recent_changes.g.dart'; @Freezed(copyWith: false) class RecentChangesItem with _$RecentChangesItem { factory RecentChangesItem({ String? type, required int ns, required String title, required int pageid, required int revid, required DateTime timestamp, @JsonKey(name: 'old_revid') int? oldRevid, int? rcid, }) = _RecentChangesItem; factory RecentChangesItem.fromJson(Map json) => _$RecentChangesItemFromJson(json); } @Freezed(copyWith: false) class RecentChangesResponse with _$RecentChangesResponse { factory RecentChangesResponse({required List recentchanges}) = _RecentChangesResponse; factory RecentChangesResponse.fromJson(Map json) => _$RecentChangesResponseFromJson(json); }