toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'displayRank': displayRank,
    'rankingDisplayScore': rankingDisplayScore,
    'playerRank': playerRank,
    'playerRawScore': playerRawScore,
    'scoreOwnerPlayer': scoreOwnerPlayer?.toMap(),
    'scoreOwnerDisplayName': scoreOwnerDisplayName,
    'scoreOwnerHiIconUri': scoreOwnerHiIconUri,
    'scoreOwnerIconUri': scoreOwnerIconUri,
    'scoreTips': scoreTips,
    'scoreTimestamp': scoreTimestamp,
    'timeDimension': timeDimension,
  };
}