ErrorReport constructor

ErrorReport({
  1. required Object error,
  2. StackTrace? stackTrace,
  3. ErrorContext? context,
  4. DateTime? timestamp,
})

Implementation

ErrorReport({required this.error, this.stackTrace, this.context, DateTime? timestamp})
  : timestamp = timestamp ?? DateTime.now();