PPItems class
- Annotations
-
- @freezed
Constructors
- PPItems({required String name, String? description, String? sku, String? quantity, PPItemCategory? category, PPUnitAmount? tax, required PPUnitAmount unitAmount})
-
constfactory
-
PPItems.fromJson(Map<
String, dynamic> json) -
factory
Properties
- category → PPItemCategory?
-
no setterinherited
-
copyWith
→ $PPItemsCopyWith<
PPItems> -
no setterinherited
- description → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
no setterinherited
- quantity → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sku → String?
-
no setterinherited
- tax → PPUnitAmount?
-
no setterinherited
- unitAmount → PPUnitAmount
-
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