mark method Null safety

  1. @protected
void mark()

Mark the latest sampling

Implementation

@protected
void mark() {
  if (measure is MarkedMeasure) {
    Settings().preferences!.setString(
        (measure as MarkedMeasure).tag(), DateTime.now().toUtc().toString());
  }
}