copyWithWrapped method

OnceOrganisation copyWithWrapped({
  1. Wrapped<String?>? name,
  2. Wrapped<int?>? id,
})

Implementation

OnceOrganisation copyWithWrapped(
    {Wrapped<String?>? name, Wrapped<int?>? id}) {
  return OnceOrganisation(
      name: (name != null ? name.value : this.name),
      id: (id != null ? id.value : this.id));
}