select method
It selects the element with the given global key
Args: add (bool): If true, the selection will be added to the current selection. If false, the selection will be cleared and the new selection will be added. Defaults to true
Implementation
void select() => _select(globalKey);