copyWithWrapped method

OrbAvatar copyWithWrapped({
  1. Wrapped<String?>? type,
  2. Wrapped<String?>? color1,
  3. Wrapped<String?>? color2,
})

Implementation

OrbAvatar copyWithWrapped(
    {Wrapped<String?>? type,
    Wrapped<String?>? color1,
    Wrapped<String?>? color2}) {
  return OrbAvatar(
      type: (type != null ? type.value : this.type),
      color1: (color1 != null ? color1.value : this.color1),
      color2: (color2 != null ? color2.value : this.color2));
}