SteamCloudGame/lib/beans/game_info_bean.dart

30 lines
840 B
Dart

import 'package:json_annotation/json_annotation.dart';
import 'game_tag_bean.dart';
part 'game_info_bean.g.dart';
///
@JsonSerializable(explicitToJson: true)
class GameInfoBean {
String? gameId;
String? gameName;
String? subtitle;
String? gameDetailsofCharges;
String? gameIcon;
String? gameBg;
List<GameTagBean>? gameTags;
String? score;
int? gameLoadTime;
String? gameIntroduce;
String? gameShare;
String? gameShareUserIcon;
GameInfoBean(this.gameId, this.gameName, this.subtitle, this.gameDetailsofCharges, this.gameIcon, this.gameBg, this.gameTags, this.score,
this.gameLoadTime, this.gameIntroduce, this.gameShare, this.gameShareUserIcon);
factory GameInfoBean.fromJson(Map<String, dynamic> json) => _$GameInfoBeanFromJson(json);
Map<String, dynamic> toJson() => _$GameInfoBeanToJson(this);
}