untilNextMillis method

int untilNextMillis(
  1. int lastTimestamp
)

Implementation

int untilNextMillis(int lastTimestamp) {
  int timestamp = currentTimeStamp;
  while (timestamp <= lastTimestamp) {
    timestamp = currentTimeStamp;
  }
  return timestamp;
}