HiddenPlayer.fromJson constructor

HiddenPlayer.fromJson(
  1. Map json_
)

Implementation

HiddenPlayer.fromJson(core.Map json_)
    : this(
        hiddenTimeMillis: json_.containsKey('hiddenTimeMillis')
            ? json_['hiddenTimeMillis'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        player: json_.containsKey('player')
            ? Player.fromJson(
                json_['player'] as core.Map<core.String, core.dynamic>)
            : null,
      );