SmartResponse constructor

SmartResponse({
  1. required bool success,
  2. String? data,
  3. String? dataEncoding,
  4. int? statusCode,
  5. String? error,
  6. String? errorType,
})

Implementation

SmartResponse({
  required this.success,
  this.data,
  this.dataEncoding,
  this.statusCode,
  this.error,
  this.errorType,
});