copyWithWrapped method

ErrorDetail copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? name,
  3. Wrapped<String>? detail,
})

Implementation

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