AchievementConfigurationDetail.fromJson constructor

AchievementConfigurationDetail.fromJson(
  1. Map json_
)

Implementation

AchievementConfigurationDetail.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? LocalizedStringBundle.fromJson(
                json_['description'] as core.Map<core.String, core.dynamic>)
            : null,
        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,
        pointValue: json_.containsKey('pointValue')
            ? json_['pointValue'] as core.int
            : null,
        sortRank: json_.containsKey('sortRank')
            ? json_['sortRank'] as core.int
            : null,
      );