Formatting class abstract
Responsible for configuring formatting options like preambles, prefixes, suffixes, and postambles.
Allows setting these options using direct input keys or strings and sends the corresponding commands to the BLE device.
Constructors
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
-
clearAllPrefixes(
String deviceId) → Future< CommandResponse> - Clears the prefix formatting on the device.
-
clearAllSuffixes(
String deviceId) → Future< CommandResponse> - Clears the suffix formatting on the device.
-
clearPostamble(
String deviceId) → Future< CommandResponse> - Clears the postamble formatting on the device.
-
clearPreamble(
String deviceId) → Future< CommandResponse> - Clears the preamble formatting on the device.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setPostambleFromKeys(
{required String deviceId, required List< DirectInputKey> keys}) → Future<CommandResponse> - Sets the postamble formatting using a list of DirectInputKey.
-
setPostambleFromString(
{required String deviceId, required String postamble}) → Future< CommandResponse> - Sets the postamble formatting using a string.
-
setPreambleFromKeys(
{required String deviceId, required List< DirectInputKey> keys}) → Future<CommandResponse> - Sets the preamble formatting using a list of DirectInputKey.
-
setPreambleFromString(
{required String deviceId, required String preamble}) → Future< CommandResponse> - Sets the preamble formatting using a string.
-
setPrefixFromKeys(
{required String deviceId, required List< DirectInputKey> keys, FormattableSymbology symbology = FormattableSymbology.allCodes}) → Future<CommandResponse> - Sets the prefix formatting using a list of DirectInputKey.
-
setPrefixFromString(
{required String deviceId, required String prefix, FormattableSymbology symbology = FormattableSymbology.allCodes}) → Future< CommandResponse> - Sets the prefix formatting using a string.
-
setSuffixFromKeys(
{required String deviceId, required List< DirectInputKey> keys, FormattableSymbology symbology = FormattableSymbology.allCodes}) → Future<CommandResponse> - Sets the suffix formatting using a list of DirectInputKey.
-
setSuffixFromString(
{required String deviceId, required String suffix, FormattableSymbology symbology = FormattableSymbology.allCodes}) → Future< CommandResponse> - Sets the suffix formatting using a string.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited