MetrosListResponse.fromJson constructor
MetrosListResponse.fromJson(
- Map json_
Implementation
MetrosListResponse.fromJson(core.Map json_)
: this(
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
metros: json_.containsKey('metros')
? (json_['metros'] as core.List)
.map((value) => Metro.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);