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

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);
}