inNanoseconds property

int get inNanoseconds

The number of whole nanoseconds spanned by this Duration.

Note, Dart only has precision up to the microsecond level, so the last digits of this value will always be zero.

Implementation

int get inNanoseconds {
  return inMicroseconds * 1000;
}