Address class
Constructors
- Address.new({required String street, required String city, String code = '', required Country country, double latitude = 0.0, double longitude = 0.0})
-
const
- Address.fromJson(String source)
-
factory
-
Address.fromMap(Map<
String, dynamic> map) -
factory
Properties
Methods
-
copyWith(
{String? street, String? code, String? city, Country? country, double? latitude, double? longitude}) → Address -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, Object> -
toString(
) → String -
A string representation of this object.
override
-
toStringWithCountry(
) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override