RouteStatus.fromJson constructor
RouteStatus.fromJson(
- Map json_
Implementation
RouteStatus.fromJson(core.Map json_)
: this(
address: json_.containsKey('address')
? Addressable.fromJson(
json_['address'] as core.Map<core.String, core.dynamic>)
: null,
conditions: json_.containsKey('conditions')
? (json_['conditions'] as core.List)
.map((value) => GoogleCloudRunV1Condition.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
observedGeneration: json_.containsKey('observedGeneration')
? json_['observedGeneration'] as core.int
: null,
traffic: json_.containsKey('traffic')
? (json_['traffic'] as core.List)
.map((value) => TrafficTarget.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
url: json_.containsKey('url') ? json_['url'] as core.String : null,
);