miliseconds property Null safety

Duration miliseconds

Return current int in Duration of miliseconds

Implementation

Duration get miliseconds {
  final us = (this * 1000).floor();
  return Duration(microseconds: us);
}