19 lines
440 B
Dart
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);
|
|
}
|