FlightNumberEntity class

An flight number entity extracted from text.

Inheritance

Constructors

FlightNumberEntity(String rawValue, {required String airlineCode, required String flightNumber})
Constructor to create an instance of FlightNumberEntity.

Properties

airlineCode String
The IATA airline designator (two or three letters).
final
flightNumber String
The flight number (1 to 4 digit number).
final
hashCode int
The hash code for this object.
no setterinherited
rawValue String
The string representation of the entity.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type EntityType
The type of an extracted entity.
finalinherited

Methods

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

Operators

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