findTool method

Tool? findTool(
  1. String name
)

Find a mouse tool of a given name. This searches the #mouseDownTools, #mouseMoveTools, and #mouseUpTools lists.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {string} name the type of tool, such as "Dragging" or "ClickSelecting". @return {Tool} a Tool whose Tool#name exactly matches the given name, or null if no such tool is found in any of the three lists.

Implementation

_i3.Tool? findTool(_i2.String name) => _i4.callMethod(
      this,
      'findTool',
      [name],
    );