getCauseOfLossList method
Implementation
Future getCauseOfLossList({loss_type}) async {
final response = await apiRequest(
'GET', '${APP_URL}get-cause-of-loss?loss_type=${loss_type}', null);
CauseOfLossList = response['data'];
}
Future getCauseOfLossList({loss_type}) async {
final response = await apiRequest(
'GET', '${APP_URL}get-cause-of-loss?loss_type=${loss_type}', null);
CauseOfLossList = response['data'];
}