copyWith method

DynamicOffset copyWith({
  1. Length? dx,
  2. Length? dy,
})

Implementation

DynamicOffset copyWith({
  Length? dx,
  Length? dy,
}) {
  return DynamicOffset(
    dx ?? this.dx,
    dy ?? this.dy,
  );
}