copyWith method

Point copyWith({
  1. double? x,
  2. double? y,
  3. double? z,
  4. double? m,
})

Implementation

Point copyWith({double? x, double? y, double? z, double? m}) {
  return Point.withM(
    x: x ?? this.x,
    y: y ?? this.y,
    z: z ?? this.z,
    m: m ?? this.m,
  );
}