copyWith method

GlassRange copyWith({
  1. double? start,
  2. double? end,
})

A copy with the given ends replaced.

Implementation

GlassRange copyWith({double? start, double? end}) => GlassRange(start ?? this.start, end ?? this.end);