Address class

Constructors

Address.new({required String city, required String number, required String state, required String street, required String zipCode, String? complement, String? name, String? neighborhood, String? phoneNumber})
Creates a new instance of Address.
Address.fromJson(Map<String, dynamic> json)
factory

Properties

city String
The city of the address.
final
complement String?
The complement of the address.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the address.
final
neighborhood String?
The neighborhood of the address.
final
number String
The number of the address.
final
phoneNumber String?
The phone number of the address. The value must be in the format: 99999999999.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String
The state of the address. The value must be in the format: XX.
final
street String
The street of the address.
final
zipCode String
The zip code of the address. The value must be in the format: 99999999.
final

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