ApiResponse constructor

const ApiResponse({
  1. required bool success,
  2. required int errorCode,
  3. required String message,
  4. DocumentScanResponse? response,
})

Implementation

const ApiResponse({required this.success, required this.errorCode, required this.message, this.response});