inMilliseconds property Null safety

int inMilliseconds

The number of whole milliseconds spanned by this Duration.

The returned value can be greater than 999. For example a duration of three seconds and 125 milliseconds has 3125 milliseconds.

Implementation

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