AddressDto class

Constructors

AddressDto({AddressDtoAddressTypeEnum? addressType, String? descr, String? street, String? houseNumber, String? postboxNumber, String? postalCode, String? city, String? state, String? country, String? note, List<TelecomDto> telecoms = const [], String? encryptedSelf})
Returns a new AddressDto instance.

Properties

addressType AddressDtoAddressTypeEnum?
The type of place the address represents, ex: home, office, hospital, clinic, etc.
getter/setter pair
city String?
Name of city in the address
getter/setter pair
country String?
Name / code of country in the address
getter/setter pair
descr String?
Descriptive notes about the address
getter/setter pair
encryptedSelf String?
The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
houseNumber String?
Building / house number
getter/setter pair
note String?
Additional notes
getter/setter pair
postalCode String?
Postal/PIN/ZIP/Area code
getter/setter pair
postboxNumber String?
Post / PO box number
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
Name of state in the Address
getter/setter pair
street String?
Street name
getter/setter pair
telecoms List<TelecomDto>
List of other contact details available through telecom services, ex: email, phone number, fax, etc.
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) AddressDto?
Returns a new AddressDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AddressDto>?
mapFromJson(dynamic json) Map<String, AddressDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AddressDto>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.