setTime method

void setTime([
  1. int? n
])

set time to calculate performance

Implementation

void setTime([int? n]){
  times[ n ?? 0 ] = DateTime.now().millisecondsSinceEpoch;
}