Source
Future<WorkerSocket> init({Map<String, Taker> methods}) { if (methods != null) { for (var key in methods.keys) { addMethod(key, methods[key]); } } return waitFor().then((_) => this); }
Future<WorkerSocket> init({Map<String, Taker> methods}) { if (methods != null) { for (var key in methods.keys) { addMethod(key, methods[key]); } } return waitFor().then((_) => this); }