import 'package:json_annotation/json_annotation.dart'; part 'game_play_times_bean.g.dart'; /// @JsonSerializable(explicitToJson: true) class GamePlayTimeBeans { int? ranking; int? userId; String? userName; String? userIcon; String? playTime; GamePlayTimeBeans(this.ranking, this.userId, this.userName, this.userIcon, this.playTime); factory GamePlayTimeBeans.fromJson(Map json) => _$GamePlayTimeBeansFromJson(json); Map toJson() => _$GamePlayTimeBeansToJson(this); }