// ignore_for_file: unused_element import 'package:freezed_annotation/freezed_annotation.dart'; part 'watch.freezed.dart'; part 'watch.g.dart'; @Freezed(copyWith: false) class WatchActionResponseList with _$WatchActionResponseList { WatchActionResponseList._(); factory WatchActionResponseList( {required int ns, required String title, bool? watched, bool? unwatched}) = _WatchActionResponseList; bool get isWatched { return watched == true; } factory WatchActionResponseList.fromJson(Map json) => _$WatchActionResponseListFromJson(json); } @Freezed(copyWith: false) class WatchActionResponse with _$WatchActionResponse { factory WatchActionResponse({required List watch}) = _WatchActionResponse; factory WatchActionResponse.fromJson(Map json) => _$WatchActionResponseFromJson(json); }