copyWith method
CustomCallbacks
copyWith({
- void onLongPressStartedCallback(
- MeeduPlayerController controller
- void onLongPressEndedCallback(
- MeeduPlayerController controller
Implementation
CustomCallbacks copyWith({
void Function(MeeduPlayerController controller)? onLongPressStartedCallback,
void Function(MeeduPlayerController controller)? onLongPressEndedCallback,
}) {
return CustomCallbacks(
onLongPressStartedCallback:
onLongPressStartedCallback ?? this.onLongPressStartedCallback,
onLongPressEndedCallback:
onLongPressEndedCallback ?? this.onLongPressEndedCallback,
);
}