copyWith method

Period copyWith({
  1. Point? open,
  2. Point? close,
})

Implementation

Period copyWith({Point? open, Point? close}) {
  return Period(open: open ?? this.open, close: close ?? this.close);
}