valueOrNull property
T?
get
valueOrNull
Returns the value if the state is AsyncData, otherwise null.
Implementation
T? get valueOrNull => data;
Returns the value if the state is AsyncData, otherwise null.
T? get valueOrNull => data;