hasValue property

bool get hasValue
inherited

Implementation

bool get hasValue => switch (currentValue) {
      String s => s.isNotEmpty,
      List l => l.isNotEmpty,
      null => false,
      _ => true,
    };