HttpResult<T extends BaseHttpResponse> constructor

HttpResult<T extends BaseHttpResponse>({
  1. T? result,
  2. ErrorHttpResponse? error,
})

Implementation

HttpResult({
  this.result,
  this.error,
});