AppLifecycleEventBase constructor

AppLifecycleEventBase({
  1. required String stage,
  2. String? viewName,
  3. int? timeSinceLastChangeMs,
  4. String? previousState,
  5. DateTime? timestamp,
})

Implementation

AppLifecycleEventBase({
  required this.stage,
  this.viewName,
  this.timeSinceLastChangeMs,
  this.previousState,
  DateTime? timestamp, // ← Issue #137: Timestamp opcional para reserva
}) : _timestamp = timestamp ?? DateTime.now().toUtc();