toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (emailInfo != null) 'emailInfo': emailInfo!,
      if (enrolledAt != null) 'enrolledAt': enrolledAt!,
      if (mfaEnrollmentId != null) 'mfaEnrollmentId': mfaEnrollmentId!,
      if (phoneInfo != null) 'phoneInfo': phoneInfo!,
      if (totpInfo != null) 'totpInfo': totpInfo!,
      if (unobfuscatedPhoneInfo != null)
        'unobfuscatedPhoneInfo': unobfuscatedPhoneInfo!,
    };