getMetas method
returns histories in the same order as txHashes passed in
Implementation
Future<List<AssetMeta?>> getMetas(List<String> symbols) async {
var futures = <Future<AssetMeta?>>[];
if (symbols.isNotEmpty) {
peer.withBatch(() {
for (var symbol in symbols) {
futures.add(getMeta(symbol));
}
});
}
List<AssetMeta?> results = await Future.wait<AssetMeta?>(futures);
return results;
}