inNanoseconds property

int inNanoseconds

Gets the number of nanoseconds 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,000,000 to give the number of nanoseconds.

Implementation

int get inNanoseconds => (inSeconds * TimeConstants.nanosecondsPerSecond);