commitTool static method

Future<bool?> commitTool()

Commits the current tool.

Only available for multi-stroke ink (Tools.annotationCreateFreeHand) and poly-shape (Tools.annotationCreatePolygon). Returns true if either of the two is committed, false otherwise.

Implementation

static Future<bool?> commitTool() {
  return _channel.invokeMethod(Functions.commitTool);
}