copyWith method
SentryThread
copyWith({
- int? id,
- String? name,
- bool? crashed,
- bool? current,
- SentryStackTrace? stacktrace,
Implementation
SentryThread copyWith({
int? id,
String? name,
bool? crashed,
bool? current,
SentryStackTrace? stacktrace,
}) {
return SentryThread(
id: id ?? this.id,
name: name ?? this.name,
crashed: crashed ?? this.crashed,
current: current ?? this.current,
stacktrace: stacktrace ?? this.stacktrace,
unknown: unknown,
);
}