LogoService class

Das Betriebslogo fuer Beleganzeige und Belegdruck.

Das Logo ist Zierde, kein Belegbestandteil. Es wird im Verkaufsweg geholt — createReceipt gibt die Adresse in der Antwort mit, und KasseneckReceipt.init laedt es —, also hinter dem bereits signierten Beleg. Alles, was hier haengen bleibt, haengt an einem Vorgang, der laengst stattgefunden hat. Deshalb gilt: harte Frist, und ein Fehlschlag heisst schlicht „kein Logo".

Constructors

LogoService()

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

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

Static Properties

frist Duration
Harte Obergrenze fuer einen Logo-Abruf.
getter/setter pair
httpClient ↔ Client
HTTP-Client; austauschbar (Tests/Mocking).
getter/setter pair

Static Methods

getLogoBytes(String? imageUrl) Uint8List?
Gibt das Bild als Uint8List für den Belegdruck zurück
Laedt das Bild einmal und behaelt es.

Constants

standardFrist → const Duration
Vorgabe fuer frist.