PassengerModel class

Constructors

PassengerModel({required String name, String? companyMileCard, String? mileCard, IdentificationTypeEnum? identificationType, String? identificationNumber, GenderEnum? gender, DateTime? birthdate, String? cpf})

Properties

birthdate DateTime?
Data de nascimento
getter/setter pair
companyMileCard String?
Companhia de Milhagem (Fidelidade)
getter/setter pair
cpf String?
CPF do Passageiro
getter/setter pair
gender GenderEnum?
Sexo do Passageiro
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
identificationNumber String?
Número do Documento
getter/setter pair
identificationType IdentificationTypeEnum?
Tipo de Documento de Identificação
getter/setter pair
mileCard String?
Cartão de Milhagem (Fidelidade)
getter/setter pair
name String
Nome do Passageiro
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
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override