inMicroseconds property

MutableCell<int> get inMicroseconds

The duration in units of microseconds, see Duration.inMicroseconds

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

Implementation

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