mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
14 lines
362 B
Dart
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>),
|
|
);
|
|
}
|