toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (city != null) 'city': city!,
      if (countryCode != null) 'countryCode': countryCode!,
      if (hashedFirstName != null) 'hashedFirstName': hashedFirstName!,
      if (hashedLastName != null) 'hashedLastName': hashedLastName!,
      if (hashedStreetAddress != null)
        'hashedStreetAddress': hashedStreetAddress!,
      if (postalCode != null) 'postalCode': postalCode!,
      if (state != null) 'state': state!,
    };