enable method

void enable(
  1. String name
)

Enable a tool.

Implementation

void enable(String name) {
  _tools[name]?.enabled = true;
}