copyWith method
Implementation
LightSource copyWith({
double? dx,
double? dy,
}) {
return LightSource(
dx ?? this.dx,
dy ?? this.dy,
);
}
LightSource copyWith({
double? dx,
double? dy,
}) {
return LightSource(
dx ?? this.dx,
dy ?? this.dy,
);
}