PPItem class

Use for Cart Items

Annotations
  • @freezed

Constructors

PPItem({String? description, String? name, PPAmount? unitPrice, int? quantity, PPAmount? total, dynamic details})
const
factory
PPItem.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PPItemCopyWith<PPItem>
no setterinherited
description String?
no setterinherited
details → dynamic
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
no setterinherited
quantity int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total PPAmount?
no setterinherited
unitPrice PPAmount?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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