Converts the number into a Duration in milliseconds
Duration get milliseconds => Duration(milliseconds: round());