ScopedPlayerIds.fromJson constructor

ScopedPlayerIds.fromJson(
  1. Map json_
)

Implementation

ScopedPlayerIds.fromJson(core.Map json_)
    : this(
        developerPlayerKey: json_.containsKey('developerPlayerKey')
            ? json_['developerPlayerKey'] as core.String
            : null,
        gamePlayerId: json_.containsKey('gamePlayerId')
            ? json_['gamePlayerId'] as core.String
            : null,
      );