inMinutes property

MutableCell<int> get inMinutes

The duration in units of minutes, see Duration.inMinutes

A MutableCell is returned which accesses this property of the value held in this cell. Setting the value of the returned cell updates the value of this by creating a new Duration as if by Duration(minutes: value).

Implementation

MutableCell<int> get inMinutes => _getProp('inMinutes', () => value.inMinutes, (value) {
  this.value = Duration(minutes: value);
});