PrintStoreSnapshot class

What a PrintStore holds at a given moment.

Constructors

PrintStoreSnapshot({required bool canManage, required bool defaultsLoaded, List<PrintStoreItem> templates = const [], List<PrintStoreItem> paperFormats = const [], List<PrintStoreItem> categories = const []})
const

Properties

canManage → bool
The current user may create, change and delete items. Everybody can read and print.
final
categories → List<PrintStoreItem>
final
defaultsLoaded → bool
The default library was already stored once: it must not be stored again, even when the user deleted every default item on purpose.
final
hashCode → int
The hash code for this object.
no setterinherited
paperFormats → List<PrintStoreItem>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
templates → List<PrintStoreItem>
final

Methods

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

Operators

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