Subject.fromJson constructor

Subject.fromJson(
  1. Map _json
)

Implementation

Subject.fromJson(core.Map _json)
    : this(
        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,
      );