HotelModel class

Constructors

HotelModel({String? name, String? city, String? state, String? country, DateTime? reservationDate, DateTime? reserveExpirationDate, DateTime? checkInDate, DateTime? checkOutDate})

Properties

checkInDate DateTime?
Data da Chegada
getter/setter pair
checkOutDate DateTime?
Data da Saída
getter/setter pair
city String?
Cidade (tamanho 150)
getter/setter pair
country String?
País (tamanho 150)
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
name String?
Nome do Hotel (tamanho 200)
getter/setter pair
reservationDate DateTime?
Data da Reserva
getter/setter pair
reserveExpirationDate DateTime?
Data da Expiração da Reserva
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
Estado (tamanho 150)
getter/setter pair

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