subtractMilliseconds method

DateTime subtractMilliseconds(
  1. int milliseconds
)

subtractMilliseconds(): Subtracts a specified number of milliseconds from a DateTime.

Implementation

DateTime subtractMilliseconds(int milliseconds) {
  return subtract(Duration(milliseconds: milliseconds));
}