value property

  1. @override
T get value
override

The cell's value

Implementation

@override
T get value {
  final state = this.state;

  if (state == null) {
    try {
      return argCell.value;
    }
    on StopComputeException catch (e) {
      if (e.defaultValue == null && null is! T) {
        throw UninitializedCellError();
      }

      return e.defaultValue;
    }
  }

  return state.value;
}