execute method
Implementation
@override
Future<bool> execute(ReportBugUsecaseEntity param) async{
DeviceDetails deviceDetails = await getDeviceDetails(QuashModule.navigatorKey.currentContext!);
Map<String, dynamic> deviceParam = {
"device": deviceDetails.device,
"os": deviceDetails.os,
"screenResolution": deviceDetails.screenResolution,
"networkType": deviceDetails.networkType,
"batteryLevel": deviceDetails.batteryLevel??"0",
"source": quashRepo.getAppType()
};
param.param.addAll(deviceParam);
return quashRepo.reportBug(param.param, param.files);
}