toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alternateEmail != null) 'alternateEmail': alternateEmail!,
      if (customerCreationTime != null)
        'customerCreationTime':
            customerCreationTime!.toUtc().toIso8601String(),
      if (customerDomain != null) 'customerDomain': customerDomain!,
      if (etag != null) 'etag': etag!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (language != null) 'language': language!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
      if (postalAddress != null) 'postalAddress': postalAddress!,
    };