AddressUI class
Defines how an address can be displayed like in chrome://settings/addresses.
Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such.
The following address UI for instance:
[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}
, {name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}
]
should allow the receiver to render:
Jon Doe
Munich 81456
Constructors
-
AddressUI({required List<
AddressFields> addressFields}) -
AddressUI.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
addressFields
→ List<
AddressFields> -
A two dimension array containing the representation of values from an address profile.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited