fromWire static method

VoucherAmountMode? fromWire(
  1. Object? wire
)

Der Modus zum Drahtwert; null fuer einen unbekannten Wert.

Implementation

static VoucherAmountMode? fromWire(Object? wire) {
  for (final m in values) {
    if (m.wire == wire) return m;
  }
  return null;
}