AchievementUnlockResponse.fromJson constructor

AchievementUnlockResponse.fromJson(
  1. Map json_
)

Implementation

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