Result<T> constructor

Result<T>({
  1. T? data,
  2. dynamic errorData,
  3. Response? response,
  4. Exception? exception,
  5. int? statusCode = 200,
  6. String? statusMessage = '',
})

Implementation

Result({
  this.data,
  this.errorData,
  this.response,
  this.exception,
  this.statusCode = 200,
  this.statusMessage = '',
});