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