CarriersCarrier.fromJson constructor
CarriersCarrier.fromJson(
- Map json_
Implementation
CarriersCarrier.fromJson(core.Map json_)
: this(
country: json_.containsKey('country')
? json_['country'] as core.String
: null,
eddServices: json_.containsKey('eddServices')
? (json_['eddServices'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
services: json_.containsKey('services')
? (json_['services'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);