copyWith method
ScrollToIndexAction
copyWith({
- ID? id,
- String? type,
- ActionGroups? group,
- ID? controllerID,
- int? index,
Implementation
ScrollToIndexAction copyWith({
ID? id,
String? type,
ActionGroups? group,
ID? controllerID,
int? index,
}) {
return ScrollToIndexAction(
id: id ?? this.id,
type: type ?? this.type,
controllerID: controllerID ?? this.controllerID,
index: index ?? this.index,
);
}