add method

void add(
  1. Function foo
)

Implementation

void add(Function foo) {
  if (!_functions.contains(foo)) {
    _functions.add(foo);
  }
}