feat: match info

opt dateformat

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-15 20:12:57 +08:00
parent 25f4ed6636
commit a2c24fb33c
108 changed files with 1703 additions and 877 deletions

View File

@@ -0,0 +1,13 @@
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>),
);
}