admin
2022-04-29 67bdeebb4dc381a2f46f31e3027ebcc3243a8aeb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/// hasBoss : true
/// firstTeamCount : 1
/// secondTeamCount : 1
 
class TeamInfoModel {
  TeamInfoModel({
    bool? hasBoss,
    int? firstTeamCount,
    int? secondTeamCount,
  }) {
    _hasBoss = hasBoss;
    _firstTeamCount = firstTeamCount;
    _secondTeamCount = secondTeamCount;
  }
 
  TeamInfoModel.fromJson(dynamic json) {
    _hasBoss = json['hasBoss'];
    _firstTeamCount = json['firstTeamCount'];
    _secondTeamCount = json['secondTeamCount'];
  }
 
  bool? _hasBoss;
  int? _firstTeamCount;
  int? _secondTeamCount;
 
  bool? get hasBoss => _hasBoss;
 
  int? get firstTeamCount => _firstTeamCount;
 
  int? get secondTeamCount => _secondTeamCount;
 
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['hasBoss'] = _hasBoss;
    map['firstTeamCount'] = _firstTeamCount;
    map['secondTeamCount'] = _secondTeamCount;
    return map;
  }
}