SmartResponse constructor

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

Implementation

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