Passenger class Null safety

Classe Passenger da documentação oficial Cielo Ecommerce

Constructors

Passenger({String? name, String? identity, String? status, String? rating, String? email, String? phone, String? passengerType})
Passenger.fromJson(Map<String, dynamic> json)
factory

Properties

email String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
identity String?
read / write
name String?
read / write
passengerType String?
read / write
phone String?
read / write
rating String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status String?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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