RankingScore.fromMap constructor
RankingScore.fromMap(
- Map map
Implementation
factory RankingScore.fromMap(Map<dynamic, dynamic> map) {
return RankingScore(
displayRank: map['displayRank'],
rankingDisplayScore: map['rankingDisplayScore'],
playerRank: map['playerRank'],
playerRawScore: map['playerRawScore'],
scoreOwnerPlayer: map['scoreOwnerPlayer'] != null
? Player.fromMap(map['scoreOwnerPlayer'])
: null,
scoreOwnerDisplayName: map['scoreOwnerDisplayName'],
scoreOwnerHiIconUri: map['scoreOwnerHiIconUri'],
scoreOwnerIconUri: map['scoreOwnerIconUri'],
scoreTips: map['scoreTips'],
scoreTimestamp: map['scoreTimestamp'],
timeDimension: map['timeDimension'],
);
}