copyWith method
TestAction
copyWith({
- ActionType? actionType,
- WidgetTester? tester,
- Finder? finder,
- String? enterText,
- Duration? awaitDuration,
- Function? customAction,
- bool? executePumpAndSettle,
- Offset? dragOffset,
- int? pumpTime,
- String? actionName,
Implementation
TestAction copyWith({
ActionType? actionType,
WidgetTester? tester,
Finder? finder,
String? enterText,
Duration? awaitDuration,
Function? customAction,
bool? executePumpAndSettle,
Offset? dragOffset,
int? pumpTime,
String? actionName,
}) =>
TestAction(
actionType: actionType ?? this.actionType,
executePumpAndSettle: executePumpAndSettle ?? this.executePumpAndSettle,
awaitDuration: awaitDuration ?? this.awaitDuration,
finder: finder ?? this.finder,
enterText: enterText ?? this.enterText,
tester: tester ?? this.tester,
customAction: customAction ?? this.customAction,
dragOffset: dragOffset ?? this.dragOffset,
pumpTime: pumpTime ?? this.pumpTime,
actionName: actionName ?? this.actionName,
);