inMilliseconds property Null safety

int inMilliseconds

Returns number of whole milliseconds spanned by this Duration.

The returned value can be greater than 999.

Implementation

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