copyWith method

Viewport copyWith({
  1. High? low,
  2. High? high,
})

Implementation

Viewport copyWith({High? low, High? high}) {
  return Viewport(low: low ?? this.low, high: high ?? this.high);
}