BaseListResponse<T> constructor

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

Implementation

BaseListResponse({
  required bool success,
  required String message,
  required String code,
  List<T>? data,
  this.page,
  Map<String, dynamic>? metadata
}): super(
  success: success,
  message: message,
  code: code,
  data: data,
  metadata: metadata
);