setPosition method

Future<void> setPosition(
  1. int position, {
  2. String? reason,
})

Sets the position of the channel.

await channel.setPosition(1);

Implementation

Future<void> setPosition(int position, {String? reason}) =>
    _methods.setPosition(position, reason);