Scope3FlightSegment class

Flight parameters with which the Scope 3 emissions are fetched.

Constructors

Scope3FlightSegment({String? cabinClass, String? carrierCode, Date? departureDate, String? destination, String? distanceKm, int? flightNumber, String? origin})
Scope3FlightSegment.fromJson(Map json_)

Properties

cabinClass String?
The cabin class of the flight.
getter/setter pair
carrierCode String?
2-character IATA carrier code, e.g. KE.
getter/setter pair
departureDate Date?
Date of the flight in the time zone of the origin airport.
getter/setter pair
destination String?
3-character IATA airport code for flight destination, e.g. ICN.
getter/setter pair
distanceKm String?
Distance in kilometers, e.g. 2423, from [1, 2.5e16) km.
getter/setter pair
flightNumber int?
Up to 4-digit flight number, e.g. 71, from [1, 9999].
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
origin String?
3-character IATA airport code for flight origin, e.g. YVR.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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