ArchiveSummary.fromMap constructor
ArchiveSummary.fromMap(
- Map map
Implementation
factory ArchiveSummary.fromMap(Map<dynamic, dynamic> map) {
return ArchiveSummary._(
hasThumbnail: map['hasThumbnail'],
fileName: map['fileName'],
id: map['id'],
currentProgress: map['currentProgress'],
activeTime: map['activeTime'],
gamePlayer:
map['gamePlayer'] != null ? Player.fromMap(map['gamePlayer']) : null,
recentUpdateTime: map['recentUpdateTime'],
gameSummary: map['gameSummary'] != null
? GameSummary.fromMap(map['gameSummary'])
: null,
descInfo: map['description'],
thumbnailRatio: map['thumbnailRatio'],
);
}