PatternMatcher<I, O> class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(I input)
→ O?
-
-
call(I input)
→ O?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
otherwise(O function(I input))
→ ClosedPatternMatcher<I, O>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<T>(TransformingPredicate<I, T> predicate, O function(T input))
→ PatternMatcher<I, O>
-
-
when2<T1, T2>(TransformingPredicate<I, Pair<T1, T2>> predicate, O function(T1 input1, T2 input2))
→ PatternMatcher<I, O>
-
-
whenIs<T>(Type type, O function(T input))
→ PatternMatcher<I, O>
-