copyWith method

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

Implementation

Breadcrumb copyWith({
  String? message,
  String? category,
  Map<String, dynamic>? data,
  SentryLevel? level,
  String? type,
  DateTime? timestamp,
}) =>
    Breadcrumb(
      message: message ?? this.message,
      category: category ?? this.category,
      data: data ?? this.data,
      level: level ?? this.level,
      type: type ?? this.type,
      timestamp: timestamp ?? this.timestamp,
      unknown: unknown,
    );