HTTPEventBase constructor
HTTPEventBase({})
Implementation
HTTPEventBase({
required this.method,
required this.url,
this.statusCode,
required this.duration,
this.requestHeaders = const {},
this.responseHeaders = const {},
this.requestBody,
this.responseBody,
this.isError = false,
this.errorMessage,
DateTime? timestamp, // ← Issue #137: Timestamp opcional para reserva
}) : _timestamp = timestamp ?? DateTime.now().toUtc();