LeaderboardConfigurationDetail.fromJson constructor
LeaderboardConfigurationDetail.fromJson(
- Map json_
Implementation
LeaderboardConfigurationDetail.fromJson(core.Map json_)
: this(
iconUrl: json_.containsKey('iconUrl')
? json_['iconUrl'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name')
? LocalizedStringBundle.fromJson(
json_['name'] as core.Map<core.String, core.dynamic>)
: null,
scoreFormat: json_.containsKey('scoreFormat')
? GamesNumberFormatConfiguration.fromJson(
json_['scoreFormat'] as core.Map<core.String, core.dynamic>)
: null,
sortRank: json_.containsKey('sortRank')
? json_['sortRank'] as core.int
: null,
);