Flutter
matcher
isNotNull constant
isNotNull
isNotNull
top-level constant
Null safety
Matcher
const
isNotNull
A matcher that matches any non-null value.
Implementation
const Matcher isNotNull = _IsNotNull();
Flutter
matcher
isNotNull 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