18 lines
444 B
Dart
18 lines
444 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'reconnect_bean.g.dart';
|
|
|
|
///
|
|
@JsonSerializable(explicitToJson: true)
|
|
class ReconnectBean {
|
|
String? gameId;
|
|
String? gameName;
|
|
String? gameIconImage;
|
|
|
|
ReconnectBean(this.gameId, this.gameName, this.gameIconImage);
|
|
|
|
factory ReconnectBean.fromJson(Map<String, dynamic> json) => _$ReconnectBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$ReconnectBeanToJson(this);
|
|
}
|