TerminalManagerService class abstract

Inheritance

Constructors

TerminalManagerService()

Properties

authService AuthService
no setter
configService ConfigService
no setter
core LittleFishCore
getter/setter pairinherited
databaseClient DatabaseClient
no setter
hashCode int
The hash code for this object.
no setterinherited
isReady bool
no setter
logger LoggerService
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings TerminalManagerSettings
no setter
thisTerminal Terminal
no setter

Methods

deleteTerminal({required String id}) Future<void>
getLinkedTerminalsByBusinessId({required String businessId}) Future<List<Terminal>>
getLinkedTerminalsByUserId({required String userId}) Future<List<String>>
getTerminalFromServer({required String deviceId}) Future<Terminal>
getTerminalInfo({bool autoRegister = false}) Future<Terminal>
initialise({TerminalManagerSettings? settings}) Future<void>
linkTerminal({required String businessId, required Terminal terminal}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerTerminal({required Terminal terminal}) Future<void>
registerToken({required String tokenType, required String token, required String id}) Future<void>
setIsReady(bool value) → void
setSettings(TerminalManagerSettings settings) → void
setTerminalLocation({required Terminal terminal, required double latitude, required double longitude}) Future<void>
setThisTerminal(Terminal terminal) → void
toString() String
A string representation of this object.
inherited
updateTerminal({required Terminal terminal}) Future<void>

Operators

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