LokotroPrinterSettingsService class

Service for managing printer settings with secure storage

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

clearAllSettings() Future<void>
Clear all printer settings
exportSettings() Future<Map<String, String?>>
Export settings for backup
getAllSettings() Future<Map<String, dynamic>>
Get all printer settings as a map
getAutoSelectPrinter() Future<bool>
Get auto-select printer setting
getPrinterName() Future<String?>
Get saved printer name (for display purposes)
getPrinterType() Future<LokotroPrinterType>
Get saved printer type
getPrintFooter() Future<bool>
Get print footer setting
getPrintHeader() Future<bool>
Get print header setting
hasConfiguredSettings() Future<bool>
Check if printer settings have been configured
importSettings(Map<String, String?> settings) Future<void>
Import settings from backup
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAutoSelectPrinter(bool autoSelect) Future<void>
Set auto-select printer setting
setPrinterName(String name) Future<void>
Save printer name
setPrinterType(LokotroPrinterType type) Future<void>
Save printer type
setPrintFooter(bool printFooter) Future<void>
Set print footer setting
setPrintHeader(bool printHeader) Future<void>
Set print header setting
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance LokotroPrinterSettingsService
Get singleton instance
no setter