I'm reading the documentation on Isolate.spawn<T>, and it mentions "instance method tear-off". I don't know what that is, and I could not find where else it's explained. What is a tear off?
The function must be a top-level function or a static method that can be called with a single argument, that is, a compile-time constant function value which accepts at least one positional parameter and has at most one required positional parameter. The function may accept any number of optional parameters, as long as it can be called with just a single argument. The function must not be the value of a function expression or an instance method tear-off.
It's also used a lot in this github issue: Support method/function overloads.