AddressFormatter class

Constructors

AddressFormatter([String _language = 'en'])
_language is an ISO 639-1 language code.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

formatDisplay(Address address, {bool includeCountry = true}) List<String>
Format Address to the correct format for its country for display purposes.
formatForm(String country) List<AddressFormFieldInformation>
Returns a 2D list of form fields
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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