setPosition method

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

Implementation

Future<void> setPosition(int position, String? reason) async {
  await dataStoreChannel.updateChannel(
    id: id,
    reason: reason,
    payload: {'position': position},
  );
}