mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
feat: match info
opt dateformat Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
13
lib/models_new/match/match_info/data.dart
Normal file
13
lib/models_new/match/match_info/data.dart
Normal 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>),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user