ShopModel class

Constructors

ShopModel({required String documentID, required String appId, String? description, String? shortDescription, String? currency, StorageConditionsModel? conditions})

Properties

appId String
getter/setter pairoverride
conditions ↔ StorageConditionsModel?
getter/setter pair
currency String?
getter/setter pair
description String?
getter/setter pair
documentID String
getter/setter pairoverride
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortDescription String?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? description, String? shortDescription, String? currency, StorageConditionsModel? conditions}) ShopModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) ShopEntity
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromEntity(String documentID, ShopEntity? entity) Future<ShopModel?>
fromEntityPlus(String documentID, ShopEntity? entity, {String? appId}) Future<ShopModel?>

Constants

id → const String
packageName → const String