AddressValue<T> class
Properties
- countryCode → String
-
country code (ISO 3166-1 alpha-2)
final
- county → String?
-
county
final
- description → String?
-
a brief description of the address
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
determines if all required fields are empty
no setteroverride
- isNotEmpty → bool
-
determines if all fields are not empty
no setterinherited
- isReadOnly → bool
-
true if the form value is read only
no setterinherited
- isRequiredNotEmpty → bool
-
determines if all required fields are not empty
no setteroverride
- isValid → bool
-
determines if all required fields are valie
no setterinherited
- key → Key?
-
finalinherited
- municipality → String
-
city or town
final
- number → String
-
house number, building number, etc.
final
- other → String
-
apartment, suite, unit, etc.
final
- postalCode → String
-
postal code or zip+4 code
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- province → String
-
province or state
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- street → String
-
street name
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - type → T?
-
the type of address
final
-
validFields
→ Map<
String, bool> -
captures the validity of field data
final
Methods
-
copyWith(
{T? type, String? description, String? number, String? street, String? other, String? municipality, String? county, String? province, String? postalCode, String? countryCode, (String, bool)? isFieldValid}) → AddressValue< T> -
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