PrintCategory class
A group of templates, e.g. "Labels" or "Sales". Categories only order the list: the shop creates, renames, reorders and deletes them freely.
Constructors
- PrintCategory({required String id, required String name, int position = 0})
-
const
Properties
Methods
-
copyWith(
{String? name, int? position}) → PrintCategory -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toItem(
) → PrintStoreItem -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromItem(
PrintStoreItem item) → PrintCategory -
newId(
) → String