toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alternateEmail != null) 'alternateEmail': alternateEmail!,
      if (customerDomain != null) 'customerDomain': customerDomain!,
      if (customerDomainVerified != null)
        'customerDomainVerified': customerDomainVerified!,
      if (customerId != null) 'customerId': customerId!,
      if (customerType != null) 'customerType': customerType!,
      if (kind != null) 'kind': kind!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (postalAddress != null) 'postalAddress': postalAddress!,
      if (primaryAdmin != null) 'primaryAdmin': primaryAdmin!,
      if (resourceUiUrl != null) 'resourceUiUrl': resourceUiUrl!,
    };