Future<String> chooseBroker(Stream<String> brokers)

A Method that a Custom Link Provider can override for changing how to choose a broker. By default this selects the first broker available.

Source

Future<String> chooseBroker(Stream<String> brokers) async {
  return await brokers.first;
}