setOrNull method
T?
setOrNull(
- T value
Sets the contents of the cell to value. Returns null if the value is already set.
Implementation
T? setOrNull(T value) {
if (_isSet) {
return null;
}
_val = value;
_isSet = true;
return _val;
}