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

hashCode → int
The hash code for this object.
no setterinherited
id → String
final
name → String
final
position → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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