Future<WorkerSocket> init({Map<String, Taker> methods })

Source

Future<WorkerSocket> init({Map<String, Taker> methods}) async =>
    await createSocket().init(methods: methods);