Licenses class

Implemented types

Constructors

Licenses(Database database)

Properties

copies Map<String, int>?
getter/setter pair
database → Database
final
hashCode int
The hash code for this object.
no setterinherited
prints Map<String, int>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLicense(LicenseDocument license) → void
override
copiesLeft(String licenseId) int?
override
isDeviceRegistered(LicenseDocument license) Future<bool>
override
loadData() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printsLeft(String licenseId) int?
override
registerDevice(LicenseDocument license) Future<int>
override
setCopiesLeft(int quantity, String licenseId) → void
override
setPrintsLeft(int quantity, String licenseId) → void
override
toString() String
A string representation of this object.
inherited

Operators

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