ContactInfo.fromJson constructor

ContactInfo.fromJson(
  1. Map json_
)

Implementation

ContactInfo.fromJson(core.Map json_)
    : this(
        contactEmail: json_.containsKey('contactEmail')
            ? json_['contactEmail'] as core.String
            : null,
        dataProtectionOfficerEmail:
            json_.containsKey('dataProtectionOfficerEmail')
                ? json_['dataProtectionOfficerEmail'] as core.String
                : null,
        dataProtectionOfficerName:
            json_.containsKey('dataProtectionOfficerName')
                ? json_['dataProtectionOfficerName'] as core.String
                : null,
        dataProtectionOfficerPhone:
            json_.containsKey('dataProtectionOfficerPhone')
                ? json_['dataProtectionOfficerPhone'] as core.String
                : null,
        euRepresentativeEmail: json_.containsKey('euRepresentativeEmail')
            ? json_['euRepresentativeEmail'] as core.String
            : null,
        euRepresentativeName: json_.containsKey('euRepresentativeName')
            ? json_['euRepresentativeName'] as core.String
            : null,
        euRepresentativePhone: json_.containsKey('euRepresentativePhone')
            ? json_['euRepresentativePhone'] as core.String
            : null,
      );