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