Address class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- Address({required AddressData data, bool? primary})
-
Address.fromJson(Map<
String, dynamic> json) -
factory
Properties
- data → AddressData
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- primary → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{AddressData? data, bool? primary}) → Address -
Available on Address, provided by the $AddressExtension extension
-
copyWithWrapped(
{Wrapped< AddressData> ? data, Wrapped<bool?> ? primary}) → Address -
Available on Address, provided by the $AddressExtension extension
-
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 ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const Address Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Address instance)