Country.fromJson constructor

Country.fromJson(
  1. Map json_
)

Implementation

Country.fromJson(core.Map json_)
    : this(
        countryCode: json_.containsKey('countryCode')
            ? json_['countryCode'] as core.String
            : null,
        dartId: json_.containsKey('dartId')
            ? json_['dartId'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        sslEnabled: json_.containsKey('sslEnabled')
            ? json_['sslEnabled'] as core.bool
            : null,
      );