BaseResponse<T> constructor

BaseResponse<T>({
  1. required bool success,
  2. required String message,
  3. T? data,
  4. required String code,
  5. Map<String, dynamic>? metadata,
})

Implementation

BaseResponse({
  required this.success,
  required this.message,
  this.data,
  required this.code,
  this.metadata
});