setToolMode method

Future<void> setToolMode(
  1. String toolMode
)

Sets the current tool mode.

Takes a Tools string constant representing the tool mode to set.

Implementation

Future<void> setToolMode(String toolMode) {
  return _channel.invokeMethod(Functions.setToolMode,
      <String, dynamic>{Parameters.toolMode: toolMode});
}