Files
PiliPlus/lib/models_new/match/match_info/data.dart
bggRGjQaUbCoE a2c24fb33c feat: match info
opt dateformat

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-06-16 12:51:32 +08:00

14 lines
378 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>),
);
}