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