Future<List<SourceInfo>> getSources()

Source

static Future<List<SourceInfo>> getSources() {
  var completer = new Completer<List<SourceInfo>>();
  _getSources(
      (value) { completer.complete(value); });
  return completer.future;
}