copyWith method
JoystickDirectionalEvent
copyWith({
- JoystickMoveDirectional? directional,
- double? intensity,
- double? radAngle,
- bool? isKeyboard,
Implementation
JoystickDirectionalEvent copyWith({
JoystickMoveDirectional? directional,
double? intensity,
double? radAngle,
bool? isKeyboard,
}) {
return JoystickDirectionalEvent(
directional: directional ?? this.directional,
intensity: intensity ?? this.intensity,
radAngle: radAngle ?? this.radAngle,
isKeyboard: isKeyboard ?? this.isKeyboard,
);
}