of method

Iterable<PaymentMethod> of(
  1. {List<int> types}
)

Implementation

Iterable<PaymentMethod> of({List<int> types}) {
  return this.where((method) => types.contains(method.type)).toList();
}