AchievementIncrementResponse.fromJson constructor

AchievementIncrementResponse.fromJson(
  1. Map json_
)

Implementation

AchievementIncrementResponse.fromJson(core.Map json_)
    : this(
        currentSteps: json_.containsKey('currentSteps')
            ? json_['currentSteps'] as core.int
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        newlyUnlocked: json_.containsKey('newlyUnlocked')
            ? json_['newlyUnlocked'] as core.bool
            : null,
      );