getCauseOfLossList method

Future getCauseOfLossList({
  1. dynamic loss_type,
})

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'];
}