copyWithWrapped method

Implementation

ShareOptionResponseModel copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<String>? id,
    Wrapped<enums.ShareOptionResponseModelType>? type}) {
  return ShareOptionResponseModel(
      name: (name != null ? name.value : this.name),
      id: (id != null ? id.value : this.id),
      type: (type != null ? type.value : this.type));
}