nowNs method

  1. @override
int nowNs()
override

Implementation

@override
int nowNs() {
  /// Note, Dart only has precision up to the microsecond level, so the last
  /// digits of this value will always be zero.
  return DateTime.now().microsecondsSinceEpoch * 1000;
}