toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (countryCode != null) 'countryCode': countryCode!,
      if (hashedEmails != null) 'hashedEmails': hashedEmails!,
      if (hashedFirstName != null) 'hashedFirstName': hashedFirstName!,
      if (hashedLastName != null) 'hashedLastName': hashedLastName!,
      if (hashedPhoneNumbers != null)
        'hashedPhoneNumbers': hashedPhoneNumbers!,
      if (zipCodes != null) 'zipCodes': zipCodes!,
    };