PrintStore class abstract

Where the print library lives: a server, a file, a database. The app provides the implementation; the library only calls these methods and changes its own lists after they succeed.

Implementers

Constructors

PrintStore()

Properties

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

Methods

delete(PrintCollection collection, String itemId) → Future<void>
load() → Future<PrintStoreSnapshot>
loadDefaults({required List<PrintStoreItem> templates, required List<PrintStoreItem> paperFormats, required List<PrintStoreItem> categories}) → Future<PrintStoreSnapshot>
Stores the default library once. Items that already exist are kept.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(PrintCollection collection, PrintStoreItem item) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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