GoogleCloudIdentitytoolkitV1MfaEnrollment.fromJson constructor

GoogleCloudIdentitytoolkitV1MfaEnrollment.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV1MfaEnrollment.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        emailInfo: json_.containsKey('emailInfo')
            ? GoogleCloudIdentitytoolkitV1EmailInfo.fromJson(
                json_['emailInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        enrolledAt: json_.containsKey('enrolledAt')
            ? json_['enrolledAt'] as core.String
            : null,
        mfaEnrollmentId: json_.containsKey('mfaEnrollmentId')
            ? json_['mfaEnrollmentId'] as core.String
            : null,
        phoneInfo: json_.containsKey('phoneInfo')
            ? json_['phoneInfo'] as core.String
            : null,
        totpInfo: json_.containsKey('totpInfo')
            ? GoogleCloudIdentitytoolkitV1TotpInfo.fromJson(
                json_['totpInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        unobfuscatedPhoneInfo: json_.containsKey('unobfuscatedPhoneInfo')
            ? json_['unobfuscatedPhoneInfo'] as core.String
            : null,
      );