removeUnsupported method

List<PosToken> removeUnsupported(
  1. Iterable<String> supportedNamespaces
)

Implementation

List<PosToken> removeUnsupported(Iterable<String> supportedNamespaces) {
  return this..removeWhere((e) {
    final ns = NamespaceUtils.getNamespaceFromChain(e.network.chainId);
    return supportedNamespaces.contains(ns) == false;
  });
}