CartModel class

Constructors

CartModel({required String documentID, required String appId, String? title, String? description, String? checkoutText, ShopModel? shop, BackgroundModel? itemImageBackground, BackgroundModel? itemDetailBackground, ActionModel? checkoutAction, ActionModel? backToShopAction, ActionModel? openProductAction, StorageConditionsModel? conditions})

Properties

appId String
getter/setter pairoverride
backToShopAction ActionModel?
getter/setter pair
checkoutAction ActionModel?
getter/setter pair
checkoutText String?
getter/setter pair
conditions ↔ StorageConditionsModel?
getter/setter pair
description String?
getter/setter pair
documentID String
getter/setter pairoverride
hashCode int
The hash code for this object.
no setteroverride
itemDetailBackground ↔ BackgroundModel?
getter/setter pair
itemImageBackground ↔ BackgroundModel?
getter/setter pair
openProductAction ActionModel?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shop ShopModel?
getter/setter pair
title String?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? title, String? description, String? checkoutText, ShopModel? shop, BackgroundModel? itemImageBackground, BackgroundModel? itemDetailBackground, ActionModel? checkoutAction, ActionModel? backToShopAction, ActionModel? openProductAction, StorageConditionsModel? conditions}) CartModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) CartEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, CartEntity? entity) Future<CartModel?>
fromEntityPlus(String documentID, CartEntity? entity, {String? appId}) Future<CartModel?>

Constants

id → const String
packageName → const String