ShopModel class
Constructors
-
ShopModel({String? id, required String name, required String phoneNumber, required String category, List<
Product> ? products, String? imgUrl, required bool available, required double longtitude, required double latitude, required String language, required String uuid, String? jwtToken, List<OrderProduct> ? orders}) -
ShopModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- available → bool
-
finalinherited
- category → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
finalinherited
- imgUrl → String?
-
finalinherited
- jwtToken → String?
-
finalinherited
- language → String
-
finalinherited
- latitude → double
-
finalinherited
- longtitude → double
-
finalinherited
- name → String
-
finalinherited
-
orders
→ List<
OrderProduct> ? -
finalinherited
- phoneNumber → String
-
finalinherited
-
products
→ List<
Product> ? -
finalinherited
- roleId → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String
-
finalinherited
Methods
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited