VerifyAssertionResponse.fromJson constructor

VerifyAssertionResponse.fromJson(
  1. Map json_
)

Implementation

VerifyAssertionResponse.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        appInstallationUrl: json_.containsKey('appInstallationUrl')
            ? json_['appInstallationUrl'] as core.String
            : null,
        appScheme: json_.containsKey('appScheme')
            ? json_['appScheme'] as core.String
            : null,
        context: json_.containsKey('context')
            ? json_['context'] as core.String
            : null,
        dateOfBirth: json_.containsKey('dateOfBirth')
            ? json_['dateOfBirth'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        email:
            json_.containsKey('email') ? json_['email'] as core.String : null,
        emailRecycled: json_.containsKey('emailRecycled')
            ? json_['emailRecycled'] as core.bool
            : null,
        emailVerified: json_.containsKey('emailVerified')
            ? json_['emailVerified'] as core.bool
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        expiresIn: json_.containsKey('expiresIn')
            ? json_['expiresIn'] as core.String
            : null,
        federatedId: json_.containsKey('federatedId')
            ? json_['federatedId'] as core.String
            : null,
        firstName: json_.containsKey('firstName')
            ? json_['firstName'] as core.String
            : null,
        fullName: json_.containsKey('fullName')
            ? json_['fullName'] as core.String
            : null,
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        inputEmail: json_.containsKey('inputEmail')
            ? json_['inputEmail'] as core.String
            : null,
        isNewUser: json_.containsKey('isNewUser')
            ? json_['isNewUser'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        language: json_.containsKey('language')
            ? json_['language'] as core.String
            : null,
        lastName: json_.containsKey('lastName')
            ? json_['lastName'] as core.String
            : null,
        localId: json_.containsKey('localId')
            ? json_['localId'] as core.String
            : null,
        needConfirmation: json_.containsKey('needConfirmation')
            ? json_['needConfirmation'] as core.bool
            : null,
        needEmail: json_.containsKey('needEmail')
            ? json_['needEmail'] as core.bool
            : null,
        nickName: json_.containsKey('nickName')
            ? json_['nickName'] as core.String
            : null,
        oauthAccessToken: json_.containsKey('oauthAccessToken')
            ? json_['oauthAccessToken'] as core.String
            : null,
        oauthAuthorizationCode: json_.containsKey('oauthAuthorizationCode')
            ? json_['oauthAuthorizationCode'] as core.String
            : null,
        oauthExpireIn: json_.containsKey('oauthExpireIn')
            ? json_['oauthExpireIn'] as core.int
            : null,
        oauthIdToken: json_.containsKey('oauthIdToken')
            ? json_['oauthIdToken'] as core.String
            : null,
        oauthRequestToken: json_.containsKey('oauthRequestToken')
            ? json_['oauthRequestToken'] as core.String
            : null,
        oauthScope: json_.containsKey('oauthScope')
            ? json_['oauthScope'] as core.String
            : null,
        oauthTokenSecret: json_.containsKey('oauthTokenSecret')
            ? json_['oauthTokenSecret'] as core.String
            : null,
        originalEmail: json_.containsKey('originalEmail')
            ? json_['originalEmail'] as core.String
            : null,
        photoUrl: json_.containsKey('photoUrl')
            ? json_['photoUrl'] as core.String
            : null,
        providerId: json_.containsKey('providerId')
            ? json_['providerId'] as core.String
            : null,
        rawUserInfo: json_.containsKey('rawUserInfo')
            ? json_['rawUserInfo'] as core.String
            : null,
        refreshToken: json_.containsKey('refreshToken')
            ? json_['refreshToken'] as core.String
            : null,
        screenName: json_.containsKey('screenName')
            ? json_['screenName'] as core.String
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
        verifiedProvider: json_.containsKey('verifiedProvider')
            ? (json_['verifiedProvider'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );