Flutter
quiver.core
Optional
<
T
>
isPresent property
isPresent
Optional class
Constructors
absent
fromNullable
of
Properties
hashCode
isPresent
iterator
orNull
value
first
isEmpty
isNotEmpty
last
length
runtimeType
single
Methods
ifAbsent
ifPresent
or
toString
transform
transformNullable
any
cast
contains
elementAt
every
expand
firstWhere
fold
followedBy
forEach
join
lastWhere
map
noSuchMethod
reduce
singleWhere
skip
skipWhile
take
takeWhile
toList
toSet
where
whereType
Operators
operator ==
isPresent property
bool
isPresent
Whether the Optional contains a value.
Implementation
bool get isPresent => _value != null;