LeaderboardConfiguration.fromJson constructor
LeaderboardConfiguration.fromJson(
- Map json_
Implementation
LeaderboardConfiguration.fromJson(core.Map json_)
: this(
draft: json_.containsKey('draft')
? LeaderboardConfigurationDetail.fromJson(
json_['draft'] as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
published: json_.containsKey('published')
? LeaderboardConfigurationDetail.fromJson(
json_['published'] as core.Map<core.String, core.dynamic>)
: null,
scoreMax: json_.containsKey('scoreMax')
? json_['scoreMax'] as core.String
: null,
scoreMin: json_.containsKey('scoreMin')
? json_['scoreMin'] as core.String
: null,
scoreOrder: json_.containsKey('scoreOrder')
? json_['scoreOrder'] as core.String
: null,
token:
json_.containsKey('token') ? json_['token'] as core.String : null,
);