Result<T> constructor

Result<T>({
  1. Response<T>? response,
  2. Object? error,
})

Implementation

Result({this.response, this.error});