copyWith method

FDirection copyWith({
  1. Axis? direction,
  2. Axis? directionTablet,
  3. Axis? directionDesktop,
})

Implementation

FDirection copyWith({
  Axis? direction,
  Axis? directionTablet,
  Axis? directionDesktop,
}) =>
    FDirection(
      direction: direction ?? this.direction,
      directionTablet: directionTablet ?? this.directionTablet,
      directionDesktop: directionDesktop ?? this.directionDesktop,
    );