MobileCarrier.fromJson constructor

MobileCarrier.fromJson(
  1. Map json_
)

Implementation

MobileCarrier.fromJson(core.Map json_)
    : this(
        countryCode: json_.containsKey('countryCode')
            ? json_['countryCode'] as core.String
            : null,
        countryDartId: json_.containsKey('countryDartId')
            ? json_['countryDartId'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );