AddressDetails class
The address details
- Annotations
-
- @freezed
Constructors
- AddressDetails({String? address1, String? address2, String? city, String? company, String? completionService, String? country, String? countryCode, double? latitude, double? longitude, String? province, String? provinceCode, String? zip})
-
A constructor for address details
constfactory
-
AddressDetails.fromJson(Map<
String, dynamic> json) -
A factory constructor for address details
factory
Properties
- address1 → String?
-
no setterinherited
- address2 → String?
-
no setterinherited
- city → String?
-
no setterinherited
- company → String?
-
no setterinherited
- completionService → String?
-
no setterinherited
-
copyWith
→ $AddressDetailsCopyWith<
AddressDetails> -
Create a copy of AddressDetails
with the given fields replaced by the non-null parameter values.
no setterinherited
- country → String?
-
no setterinherited
- countryCode → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double?
-
no setterinherited
- longitude → double?
-
no setterinherited
- province → String?
-
no setterinherited
- provinceCode → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zip → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this AddressDetails to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited