int inMilliseconds

Returns number of whole milliseconds spanned by this Duration.

The returned value can be greater than 999.

Source

int get inMilliseconds => _duration ~/ Duration.MICROSECONDS_PER_MILLISECOND;