copyWith method
TestAction
copyWith({
- TestActionType? actionType,
- WidgetTester? tester,
- Finder? finder,
- String? enterText,
- Duration? awaitFuture,
- Function? customAction,
- bool? executePumpAndSettle,
- Offset? dragOffset,
- int? pumpTime,
Implementation
TestAction copyWith({
TestActionType? actionType,
WidgetTester? tester,
Finder? finder,
String? enterText,
Duration? awaitFuture,
Function? customAction,
bool? executePumpAndSettle,
Offset? dragOffset,
int? pumpTime,
}) =>
TestAction(
action: actionType ?? this.action,
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,
);