copyWith method
- SemanticsAction? type,
- int? viewId,
- int? nodeId,
- Object? arguments = _noArgumentPlaceholder,
Create a clone of the SemanticsActionEvent but with provided parameters replaced.
Implementation
SemanticsActionEvent copyWith({
SemanticsAction? type,
int? viewId,
int? nodeId,
Object? arguments = _noArgumentPlaceholder,
}) {
return SemanticsActionEvent(
type: type ?? this.type,
viewId: viewId ?? this.viewId,
nodeId: nodeId ?? this.nodeId,
arguments: arguments == _noArgumentPlaceholder ? this.arguments : arguments,
);
}