Files
PiliPlus/lib/models_new/match/match_info/data.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

14 lines
362 B
Dart

import 'package:PiliPlus/models_new/match/match_info/contest.dart';
class MatchInfoData {
MatchContest? contest;
MatchInfoData({this.contest});
factory MatchInfoData.fromJson(Map<String, dynamic> json) => MatchInfoData(
contest: json['contest'] == null
? null
: MatchContest.fromJson(json['contest'] as Map<String, dynamic>),
);
}