MobileCarriersListResponse.fromJson constructor

MobileCarriersListResponse.fromJson(
  1. Map json_
)

Implementation

MobileCarriersListResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        mobileCarriers: json_.containsKey('mobileCarriers')
            ? (json_['mobileCarriers'] as core.List)
                .map((value) => MobileCarrier.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );