GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1SignInWithGameCenterRequest.fromJson(
    core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        playerId: _json.containsKey('playerId')
            ? _json['playerId'] as core.String
            : null,
        publicKeyUrl: _json.containsKey('publicKeyUrl')
            ? _json['publicKeyUrl'] as core.String
            : null,
        salt: _json.containsKey('salt') ? _json['salt'] as core.String : null,
        signature: _json.containsKey('signature')
            ? _json['signature'] as core.String
            : null,
        tenantId: _json.containsKey('tenantId')
            ? _json['tenantId'] as core.String
            : null,
        timestamp: _json.containsKey('timestamp')
            ? _json['timestamp'] as core.String
            : null,
      );