Flutter
expect
Func2<
T
,
A
,
B
> typedef
Func2
Func2<
T
,
A
,
B
>
typedef
Null safety
Func2
<
T
,
A
,
B
> =
T Function
(
[
A
a
,
B
b
]
)
Implementation
typedef Func2<T, A, B> = T Function([A a, B b]);
Flutter
expect
Func2<
T
,
A
,
B
> typedef
expect library
Classes
CustomMatcher
Description
isInstanceOf
Matcher
StreamMatcher
StringDescription
TypeMatcher
Constants
anything
isArgumentError
isCastError
isConcurrentModificationError
isCyclicInitializationError
isEmpty
isException
isFalse
isFormatException
isList
isMap
isNaN
isNegative
isNonNegative
isNonPositive
isNonZero
isNoSuchMethodError
isNotEmpty
isNotNaN
isNotNull
isNull
isNullThrownError
isPositive
isRangeError
isStateError
isTrue
isUnimplementedError
isUnsupportedError
isZero
returnsNormally
throwsArgumentError
throwsConcurrentModificationError
throwsCyclicInitializationError
throwsException
throwsFormatException
throwsNoSuchMethodError
throwsNullThrownError
throwsRangeError
throwsStateError
throwsUnimplementedError
throwsUnsupportedError
Properties
completes
doesNotComplete
emitsDone
neverCalled
Functions
addStateInfo
allOf
anyElement
anyOf
closeTo
collapseWhitespace
completion
contains
containsAll
containsAllInOrder
containsPair
containsValue
emits
emitsAnyOf
emitsError
emitsInAnyOrder
emitsInOrder
emitsThrough
endsWith
equals
equalsIgnoringCase
equalsIgnoringWhitespace
escape
everyElement
expect
expectAsync0
expectAsync1
expectAsync2
expectAsync3
expectAsync4
expectAsync5
expectAsync6
expectAsyncUntil0
expectAsyncUntil1
expectAsyncUntil2
expectAsyncUntil3
expectAsyncUntil4
expectAsyncUntil5
expectAsyncUntil6
expectLater
fail
greaterThan
greaterThanOrEqualTo
hasLength
inClosedOpenRange
inExclusiveRange
inInclusiveRange
inOpenClosedRange
isA
isIn
isNot
lessThan
lessThanOrEqualTo
matches
mayEmit
mayEmitMultiple
neverEmits
orderedEquals
pairwiseCompare
predicate
prints
same
startsWith
stringContainsInOrder
throwsA
unorderedEquals
unorderedMatches
wrapMatcher
Typedefs
Func0
Func1
Func2
Func3
Func4
Func5
Func6