copyWith method

ScreenLineString copyWith({
  1. List<ScreenPoint>? points,
})

A copy of this value with the given members replaced.

Implementation

ScreenLineString copyWith({List<ScreenPoint>? points}) =>
    ScreenLineString(points: points ?? this.points);