end method
Implementation
void end([String? label]) {
if (!kDebugMode) return;
if (startTime == null) {
print("Must call `start` function before end function called");
return;
}
var end = DateTime.now();
print("======================================");
print("========== TIME LAPSE END ============");
_displayLabel(label);
_unexpectableLabel(end.toString());
print("===== TIME DIFFERENCE FROM START =====");
_unexpectableLabel(end.difference(startTime!).inMilliseconds.toString());
}