restricted static method

Set<IsoCode> restricted(
  1. OperationDepositMethod method
)

Returns IsoCodes that aren't available for the provided OperationDepositMethod.

Implementation

static Set<IsoCode> restricted(OperationDepositMethod method) {
  return IsoCode.values
      .whereNot((e) => available(method).contains(e))
      .toSet();
}