state property Null safety
Implementation
bool get state {
bool? _state = itemVisible ?? itemLocked;
if (_state == null) throw Exception();
return _state;
}
bool get state {
bool? _state = itemVisible ?? itemLocked;
if (_state == null) throw Exception();
return _state;
}