description

# inMilliseconds property

int get inMilliseconds

The number of whole milliseconds spanned by this Duration.

The returned value can be greater than 999. For example, a duration of nine seconds and 123 milliseconds has 9125 milliseconds.

    const duration = Duration(seconds: 9, milliseconds: 123);
    print(duration.inMilliseconds); // 9123 = 9 * 1000 + 123

## Implementation

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