AddressModel class Null safety
Constructors
- AddressModel({int? id, int? customerId, String? firstName, String? lastName, String? address, String? building, String? floor, String? apartment, String? postalCode, String? mobile, bool? isDefault, String? name, int? zoneId, double? latitude, double? longitude, String? locationUrl, CityModel? city, int? orderCount})
-
AddressModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address ↔ String?
-
read / write
- apartment ↔ String?
-
read / write
- building ↔ String?
-
read / write
- city ↔ CityModel?
-
read / write
- customerId ↔ int?
-
read / write
- firstName ↔ String?
-
read / write
- floor ↔ String?
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id ↔ int?
-
read / write
- isDefault ↔ bool?
-
read / write
- lastName ↔ String?
-
read / write
- latitude ↔ double?
-
read / write
- locationUrl ↔ String?
-
read / write
- longitude ↔ double?
-
read / write
- mobile ↔ String?
-
read / write
- name ↔ String?
-
read / write
- orderCount ↔ int?
-
read / write
- postalCode ↔ String?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- zoneId ↔ int?
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited