Converts this number to a Duration in milliseconds.
Duration get milliseconds => Duration(milliseconds: round());