UIsoClient class abstract

Sends one ISO message and waits for its answer — the same job UHttpClient does for REST, with the same onSuccess / onError / onException shape.

It fills in everything every message carries, so a service only says what is different about its own call: a fresh trace number, the local date and time, the terminal and merchant id, the device serial, the field 63 wrapper and the MAC.

Constructors

UIsoClient()

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 Methods

send({required String mti, required String processingCode, required FutureOr<void> onSuccess(UIsoResult r), required FutureOr<void> onError(UIsoResult r), required FutureOr<void> onException(String e), Map<int, Object?> fields = const <int, Object?>{}, Map<int, String> tags = const <int, String>{}, bool sendTerminalId = true, Duration? timeout, IsoLinkEvents? events}) → Future<void>