GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.fromJson constructor

GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.fromJson(
  core.Map json_,
) : this(
      email: json_['email'] as core.String?,
      expiresIn: json_['expiresIn'] as core.String?,
      idToken: json_['idToken'] as core.String?,
      isNewUser: json_['isNewUser'] as core.bool?,
      kind: json_['kind'] as core.String?,
      localId: json_['localId'] as core.String?,
      mfaInfo: (json_['mfaInfo'] as core.List?)
          ?.map(
            (value) => GoogleCloudIdentitytoolkitV1MfaEnrollment.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      mfaPendingCredential: json_['mfaPendingCredential'] as core.String?,
      refreshToken: json_['refreshToken'] as core.String?,
    );