copyWith method

MiuixGlassLight copyWith({
  1. double? directionX,
  2. double? directionY,
  3. double? directionZ,
  4. double? intensity,
  5. double? oppositeIntensity,
  6. double? angleRange,
})

Implementation

MiuixGlassLight copyWith({
  double? directionX,
  double? directionY,
  double? directionZ,
  double? intensity,
  double? oppositeIntensity,
  double? angleRange,
}) => MiuixGlassLight(
  directionX: directionX ?? this.directionX,
  directionY: directionY ?? this.directionY,
  directionZ: directionZ ?? this.directionZ,
  intensity: intensity ?? this.intensity,
  oppositeIntensity: oppositeIntensity ?? this.oppositeIntensity,
  angleRange: angleRange ?? this.angleRange,
);