dynamic withSequenceNumbers(dynamic handler())

Source

static withSequenceNumbers(handler()) {
  return runZoned(handler, zoneValues: {
    "dsa.logger.sequence": true
  });
}