copyWithWrapped method

Red copyWithWrapped({
  1. Wrapped<int?>? red,
})

Implementation

Red copyWithWrapped({Wrapped<int?>? red}) {
  return Red(red: (red != null ? red.value : this.red));
}