unregisterFunction method

bool unregisterFunction(
  1. int function
)

Implementation

bool unregisterFunction(int function) {
  final removed = functions.remove(function);
  if (removed == null) return false;
  _functionNames.removeWhere((pair) => pair.$1 == function);
  return true;
}