toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commonName != null) 'commonName': commonName!,
      if (countryCode != null) 'countryCode': countryCode!,
      if (locality != null) 'locality': locality!,
      if (organization != null) 'organization': organization!,
      if (organizationalUnit != null)
        'organizationalUnit': organizationalUnit!,
      if (postalCode != null) 'postalCode': postalCode!,
      if (province != null) 'province': province!,
      if (streetAddress != null) 'streetAddress': streetAddress!,
    };