Leaderboard.fromJson constructor

Leaderboard.fromJson(
  1. Map json_
)

Implementation

Leaderboard.fromJson(core.Map json_)
    : this(
        iconUrl: json_.containsKey('iconUrl')
            ? json_['iconUrl'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        isIconUrlDefault: json_.containsKey('isIconUrlDefault')
            ? json_['isIconUrlDefault'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        order:
            json_.containsKey('order') ? json_['order'] as core.String : null,
      );