inDays property

MutableCell<int> get inDays

The duration in units of days, see Duration.inDays

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(days: value).

Implementation

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