inMilliseconds property

MutableCell<int> get inMilliseconds

The duration in units of milliseconds, see Duration.inMilliseconds

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

Implementation

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