CrashEntry constructor

CrashEntry({
  1. required String message,
  2. required String stackTrace,
  3. bool isFatal = false,
  4. DateTime? timestamp,
})

Creates a crash entry. timestamp defaults to now if not supplied.

Implementation

CrashEntry({
  required this.message,
  required this.stackTrace,
  this.isFatal = false,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();