DurationShorthand.ms constructor

DurationShorthand.ms(
  1. double milliseconds
)

Create from milliseconds

Implementation

factory DurationShorthand.ms(double milliseconds) {
  return DurationShorthand(Duration(milliseconds: milliseconds.round()));
}