Future<List> callMethod(String name, [ argument ])

Source

Future<List<dynamic>> callMethod(String name, [argument]) {
  return Future
      .wait(sockets.map((it) => it.callMethod(name, argument)).toList());
}