FlightWithEmissions class

Direct flight with emission estimates.

Constructors

FlightWithEmissions.new({String? contrailsImpactBucket, EasaLabelMetadata? easaLabelMetadata, EmissionsGramsPerPax? emissionsGramsPerPax, Flight? flight, String? source})
FlightWithEmissions.fromJson(Map json_)

Properties

contrailsImpactBucket String?
The significance of contrails warming impact compared to the total CO2e emissions impact.
getter/setter pair
easaLabelMetadata EasaLabelMetadata?
Metadata about the EASA Flight Emissions Label.
getter/setter pair
emissionsGramsPerPax EmissionsGramsPerPax?
Per-passenger emission estimate numbers.
getter/setter pair
flight Flight?
Matches the flight identifiers in the request.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
The source of the emissions data.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited