LeaderboardConfigurationDetail.fromJson constructor

LeaderboardConfigurationDetail.fromJson(
  1. Map json_
)

Implementation

LeaderboardConfigurationDetail.fromJson(core.Map json_)
    : this(
        iconUrl: json_['iconUrl'] as core.String?,
        kind: json_['kind'] as core.String?,
        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_['sortRank'] as core.int?,
      );