copyWithWrapped method

Status copyWithWrapped({
  1. Wrapped<String?>? statusCode,
  2. Wrapped<String?>? statusDescription,
})

Implementation

Status copyWithWrapped(
    {Wrapped<String?>? statusCode, Wrapped<String?>? statusDescription}) {
  return Status(
      statusCode: (statusCode != null ? statusCode.value : this.statusCode),
      statusDescription: (statusDescription != null
          ? statusDescription.value
          : this.statusDescription));
}