isNotEmpty property
bool
get
isNotEmpty
Returns true if this instance represents a success result and there are itemse in the list.
Implementation
bool get isNotEmpty =>
switch (this) { Success(:final value) => value.isNotEmpty, _ => false };