milliseconds property

Duration get milliseconds

Convert to Duration

Implementation

Duration get milliseconds => Duration(milliseconds: toInt());