value property

  1. @override
T get value
inherited

The cell's value

Implementation

@override
T get value {
  final state = _ensureState;

  if (state.refCell == null) {
    throw EmptyMetaCellError();
  }

  return state.refCell!.value;
}
  1. @override
set value (T value)
override

Get/Set the value of the referenced MutableCell.

NOTE: This cell must have at least one observer before setting this property, otherwise InactiveMetaCelLError is thrown.

NOTE: If this property is set before the referenced cell is set an EmptyMetaCellError exception is thrown.

Implementation

@override
set value(T value) => _mutableCell.value = value;