VerifyCustomTokenResponse.fromJson constructor

VerifyCustomTokenResponse.fromJson(
  1. Map json_
)

Implementation

VerifyCustomTokenResponse.fromJson(core.Map json_)
    : this(
        expiresIn: json_.containsKey('expiresIn')
            ? json_['expiresIn'] as core.String
            : null,
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        isNewUser: json_.containsKey('isNewUser')
            ? json_['isNewUser'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        refreshToken: json_.containsKey('refreshToken')
            ? json_['refreshToken'] as core.String
            : null,
      );