setPrefixFromString abstract method
Future<CommandResponse>
setPrefixFromString({
- required String deviceId,
- required String prefix,
- FormattableSymbology symbology = FormattableSymbology.allCodes,
Sets the prefix formatting using a string.
deviceId
- The identifier of the target device.
prefix
- A string for the prefix, with a maximum length of 4.
symbology
- The FormattableSymbology to apply the prefix for.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setPrefixFromString({
required String deviceId,
required String prefix,
FormattableSymbology symbology = FormattableSymbology.allCodes,
});