toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (idToken != null) 'idToken': idToken!,
      if (phoneEnrollmentInfo != null)
        'phoneEnrollmentInfo': phoneEnrollmentInfo!,
      if (tenantId != null) 'tenantId': tenantId!,
      if (totpEnrollmentInfo != null)
        'totpEnrollmentInfo': totpEnrollmentInfo!,
    };