character_unlock_response.dart 460 B

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