ErrorReport constructor
ErrorReport({
- required Object error,
- StackTrace? stackTrace,
- ErrorContext? context,
- DateTime? timestamp,
Implementation
ErrorReport({required this.error, this.stackTrace, this.context, DateTime? timestamp})
: timestamp = timestamp ?? DateTime.now();