loadMetadatas method

  1. @override
Future<List<Metadata?>> loadMetadatas(
  1. List<String> pubKeys
)
override

Implementation

@override
Future<List<Metadata?>> loadMetadatas(List<String> pubKeys) async {
  List<Metadata> result = [];
  for (String pubKey in pubKeys) {
    Metadata? metadata = metadatas[pubKey];
    if (metadata != null) {
      result.add(metadata);
    }
  }
  return result;
}