21 lines
494 B
Dart
21 lines
494 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'game_history_bean.g.dart';
|
|
|
|
///
|
|
@JsonSerializable(explicitToJson: true)
|
|
class GameHistoryBean {
|
|
|
|
String? gameId;
|
|
String? gameName;
|
|
String? gameIconImage;
|
|
String? playtime;
|
|
|
|
|
|
GameHistoryBean(this.gameId, this.gameName, this.gameIconImage, this.playtime);
|
|
|
|
factory GameHistoryBean.fromJson(Map<String, dynamic> json) => _$GameHistoryBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$GameHistoryBeanToJson(this);
|
|
}
|