SteamCloudGame/lib/beans/game_list_bean.dart
2024-11-23 15:25:11 +08:00

19 lines
440 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'game_list_bean.g.dart';
///
@JsonSerializable(explicitToJson: true)
class GameListBean {
String? gameId;
String? gameName;
String? gameIconImage;
GameListBean(this.gameId, this.gameName, this.gameIconImage);
factory GameListBean.fromJson(Map<String, dynamic> json) => _$GameListBeanFromJson(json);
Map<String, dynamic> toJson() => _$GameListBeanToJson(this);
}