character_custom_page_response.dart 503 B

123456789101112131415161718
  1. import 'package:json_annotation/json_annotation.dart';
  2. import '../../bean/character_info.dart';
  3. part 'character_custom_page_response.g.dart';
  4. @JsonSerializable()
  5. class CharacterCustomPageResponse {
  6. @JsonKey(name: "count")
  7. int? count;
  8. @JsonKey(name: "list")
  9. List<CharacterInfo>? characterInfos;
  10. CharacterCustomPageResponse({this.count, this.characterInfos});
  11. factory CharacterCustomPageResponse.fromJson(Map<String, dynamic> json) =>
  12. _$CharacterCustomPageResponseFromJson(json);
  13. }