Flutter
matcher
anything constant
anything
anything
top-level constant
Null safety
Matcher
const
anything
A matcher that matches any value.
Implementation
const Matcher anything = _IsAnything();
Flutter
matcher
anything constant
matcher library
Classes
CustomMatcher
Description
isInstanceOf
Matcher
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
Functions
addStateInfo
allOf
anyElement
anyOf
closeTo
collapseWhitespace
contains
containsAll
containsAllInOrder
containsPair
containsValue
endsWith
equals
equalsIgnoringCase
equalsIgnoringWhitespace
escape
everyElement
greaterThan
greaterThanOrEqualTo
hasLength
inClosedOpenRange
inExclusiveRange
inInclusiveRange
inOpenClosedRange
isA
isIn
isNot
lessThan
lessThanOrEqualTo
matches
orderedEquals
pairwiseCompare
predicate
same
startsWith
stringContainsInOrder
unorderedEquals
unorderedMatches
wrapMatcher