Address class

Constructors

Address({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

city String
final
code String
final
country Country
final
hashCode int
The hash code for this object.
no setteroverride
latitude double
final
longitude double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
street String
final

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

Constants

empty → const Address