Breadcrumb constructor

Breadcrumb({
  1. String? message,
  2. DateTime? timestamp,
  3. String? category,
  4. Map<String, dynamic>? data,
  5. SentryLevel? level,
  6. String? type,
})

Creates a breadcrumb that can be attached to an SentryEvent.

Implementation

Breadcrumb({
  this.message,
  DateTime? timestamp,
  this.category,
  this.data,
  SentryLevel? level,
  this.type,
})  : timestamp = timestamp ?? getUtcDateTime(),
      level = level ?? SentryLevel.info;