Achievement.fromMap constructor
Achievement.fromMap(
- Map map
Implementation
factory Achievement.fromMap(Map<dynamic, dynamic> map) {
return Achievement(
id: map['id'],
reachedSteps: map['reachedSteps'],
descInfo: map['descInfo'],
localeReachedSteps: map['localeReachedSteps'],
localeAllSteps: map['localeAllSteps'],
recentUpdateTime: map['recentUpdateTime'],
displayName: map['displayName'],
gamePlayer:
map['gamePlayer'] != null ? Player.fromMap(map['gamePlayer']) : null,
visualizedThumbnailUri: map['visualizedThumbnailUri'],
state: map['state'],
allSteps: map['allSteps'],
type: map['type'],
reachedThumbnailUri: map['reachedThumbnailUri'],
);
}