Subject.fromJson constructor

Subject.fromJson(
  1. Map json_
)

Implementation

Subject.fromJson(core.Map json_)
    : this(
        commonName: json_.containsKey('commonName')
            ? json_['commonName'] as core.String
            : null,
        countryCode: json_.containsKey('countryCode')
            ? json_['countryCode'] as core.String
            : null,
        locality: json_.containsKey('locality')
            ? json_['locality'] as core.String
            : null,
        organization: json_.containsKey('organization')
            ? json_['organization'] as core.String
            : null,
        organizationalUnit: json_.containsKey('organizationalUnit')
            ? json_['organizationalUnit'] as core.String
            : null,
        postalCode: json_.containsKey('postalCode')
            ? json_['postalCode'] as core.String
            : null,
        province: json_.containsKey('province')
            ? json_['province'] as core.String
            : null,
        streetAddress: json_.containsKey('streetAddress')
            ? json_['streetAddress'] as core.String
            : null,
      );