MemberCartModel class
Constructors
-
MemberCartModel({required String documentID, required String appId, List<
CartItemModel> ? cartItems})
Properties
- appId ↔ String
-
getter/setter pairoverride
-
cartItems
↔ List<
CartItemModel> ? -
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
Methods
-
collectReferences(
{String? appId}) → Future< List< ModelReference> > -
override
-
copyWith(
{String? documentID, String? appId, List< CartItemModel> ? cartItems}) → MemberCartModel -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
{String? appId}) → MemberCartEntity -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromEntity(
String documentID, MemberCartEntity? entity) → Future< MemberCartModel?> -
fromEntityPlus(
String documentID, MemberCartEntity? entity, {String? appId}) → Future< MemberCartModel?>
Constants
- id → const String
- packageName → const String