copyWith method

SentryStackTrace copyWith({
  1. List<SentryStackFrame>? frames,
  2. Map<String, String>? registers,
  3. String? lang,
  4. bool? snapshot,
})

Implementation

SentryStackTrace copyWith({
  List<SentryStackFrame>? frames,
  Map<String, String>? registers,
  String? lang,
  bool? snapshot,
}) =>
    SentryStackTrace(
      frames: frames ?? this.frames,
      registers: registers ?? this.registers,
      lang: lang ?? this.lang,
      snapshot: snapshot ?? this.snapshot,
      unknown: unknown,
      baseAddr: baseAddr,
      buildId: buildId,
    );