43 lines
1.6 KiB
Dart
43 lines
1.6 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'game_info_bean.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
GameInfoBean _$GameInfoBeanFromJson(Map<String, dynamic> json) => GameInfoBean(
|
|
json['gameId'] as String?,
|
|
json['gameName'] as String?,
|
|
json['subtitle'] as String?,
|
|
json['gameDetailsofCharges'] as String?,
|
|
json['gameIcon'] as String?,
|
|
json['gameBg'] as String?,
|
|
(json['gameTags'] as List<dynamic>?)
|
|
?.map((e) => GameTagBean.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
json['score'] as String?,
|
|
(json['gameLoadTime'] as num?)?.toInt(),
|
|
json['gameIntroduce'] as String?,
|
|
json['gameShare'] as String?,
|
|
json['gameShareUserIcon'] as String?,
|
|
json['isCollect'] as bool?,
|
|
);
|
|
|
|
Map<String, dynamic> _$GameInfoBeanToJson(GameInfoBean instance) =>
|
|
<String, dynamic>{
|
|
'gameId': instance.gameId,
|
|
'gameName': instance.gameName,
|
|
'subtitle': instance.subtitle,
|
|
'gameDetailsofCharges': instance.gameDetailsofCharges,
|
|
'gameIcon': instance.gameIcon,
|
|
'gameBg': instance.gameBg,
|
|
'gameTags': instance.gameTags?.map((e) => e.toJson()).toList(),
|
|
'score': instance.score,
|
|
'gameLoadTime': instance.gameLoadTime,
|
|
'gameIntroduce': instance.gameIntroduce,
|
|
'gameShare': instance.gameShare,
|
|
'gameShareUserIcon': instance.gameShareUserIcon,
|
|
'isCollect': instance.isCollect,
|
|
};
|