new_user_get_character_response.dart 472 B

123456789101112131415161718
  1. import 'package:json_annotation/json_annotation.dart';
  2. import '../../bean/character_info.dart';
  3. part 'new_user_get_character_response.g.dart';
  4. @JsonSerializable()
  5. class NewUserGetCharacterResponse {
  6. @JsonKey(name: "list")
  7. late final List<CharacterInfo> characterInfo;
  8. NewUserGetCharacterResponse({ required this.characterInfo});
  9. factory NewUserGetCharacterResponse.fromJson(Map<String, dynamic> json) =>
  10. _$NewUserGetCharacterResponseFromJson(json);
  11. }