SystemNotice.g.dart 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'SystemNotice.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. SystemNotice _$SystemNoticeFromJson(Map<String, dynamic> json) {
  7. return SystemNotice(
  8. json['id'] as int,
  9. json['gameId'] as int,
  10. json['houseId'] as int,
  11. json['userId'] as int,
  12. json['seasonId'] as int,
  13. json['content'] as String,
  14. json['icon'] as String,
  15. json['typeFlag'] as int,
  16. json['statusFlag'] as int,
  17. json['createTime'] as int,
  18. json['playerId'] as int,
  19. json['gameInfo'] == null
  20. ? null
  21. : GameInfo.fromJson(json['gameInfo'] as Map<String, dynamic>),
  22. json['houseInfo'] == null
  23. ? null
  24. : HouseInfo.fromJson(json['houseInfo'] as Map<String, dynamic>),
  25. json['playerInfo'] == null
  26. ? null
  27. : PlayerInfo.fromJson(json['playerInfo'] as Map<String, dynamic>),
  28. json['bonus'] as int);
  29. }
  30. Map<String, dynamic> _$SystemNoticeToJson(SystemNotice instance) =>
  31. <String, dynamic>{
  32. 'id': instance.id,
  33. 'gameId': instance.gameId,
  34. 'houseId': instance.houseId,
  35. 'userId': instance.userId,
  36. 'seasonId': instance.seasonId,
  37. 'content': instance.content,
  38. 'icon': instance.icon,
  39. 'typeFlag': instance.typeFlag,
  40. 'statusFlag': instance.statusFlag,
  41. 'createTime': instance.createTime,
  42. 'playerId': instance.playerId,
  43. 'gameInfo': instance.gameInfo,
  44. 'houseInfo': instance.houseInfo,
  45. 'playerInfo': instance.playerInfo,
  46. 'bonus': instance.bonus
  47. };