DurationShorthand.ms constructor
DurationShorthand.ms(
- double milliseconds
Create from milliseconds
Implementation
factory DurationShorthand.ms(double milliseconds) {
return DurationShorthand(Duration(milliseconds: milliseconds.round()));
}