setPrefixFromKeys abstract method

Future<CommandResponse> setPrefixFromKeys({
  1. required String deviceId,
  2. required List<DirectInputKey> keys,
  3. FormattableSymbology symbology = FormattableSymbology.allCodes,
})

Sets the prefix formatting using a list of DirectInputKey.

deviceId - The identifier of the target device. keys - A list of DirectInputKey values 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> setPrefixFromKeys({
  required String deviceId,
  required List<DirectInputKey> keys,
  FormattableSymbology symbology = FormattableSymbology.allCodes,
});