inMilliseconds property

int inMilliseconds

Gets the number of milliseconds represented by this offset, which may be negative.

Offsets are only accurate to second precision; the number of seconds is simply multiplied by 1,000 to give the number of milliseconds.

Implementation

int get inMilliseconds => (inSeconds * TimeConstants.millisecondsPerSecond);