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