copyWith method
Mechanism
copyWith(
{ - String? type,
- String? description,
- String? helpLink,
- bool? handled,
- Map<String, dynamic>? meta,
- Map<String, dynamic>? data,
- bool? synthetic,
- bool? isExceptionGroup,
- String? source,
- int? exceptionId,
- int? parentId,
})
Implementation
Mechanism copyWith({
String? type,
String? description,
String? helpLink,
bool? handled,
Map<String, dynamic>? meta,
Map<String, dynamic>? data,
bool? synthetic,
bool? isExceptionGroup,
String? source,
int? exceptionId,
int? parentId,
}) =>
Mechanism(
type: type ?? this.type,
description: description ?? this.description,
helpLink: helpLink ?? this.helpLink,
handled: handled ?? this.handled,
meta: meta ?? this.meta,
data: data ?? this.data,
synthetic: synthetic ?? this.synthetic,
isExceptionGroup: isExceptionGroup ?? this.isExceptionGroup,
source: source ?? this.source,
exceptionId: exceptionId ?? this.exceptionId,
parentId: parentId ?? this.parentId,
unknown: unknown,
);