Switcher<I, O> class
Constructors
- Switcher.of(I value)
Properties
Methods
-
consume(
) → Optional< O> -
key(
I key, Method< I, O> value) → Switcher<I, O> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
orElse(
O value) → O -
predicate(
Predicate< I> predicate, Method<I, O> value) → Switcher<I, O> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited