detach static method
Remove wire object from communication layer, then inform all middlewares with Returns existence of another wires with that signal.
Implementation
static Future<bool> detach(Wire<dynamic> wire) {
return remove(signal: wire.signal, scope: wire.scope);
}