getMyCoverageList method

Future getMyCoverageList({
  1. dynamic policyId,
})

Implementation

Future getMyCoverageList({policyId}) async {
  final response = await apiRequest(
      'GET', '${APP_URL}my-coverage-list/?policy_id=$policyId', null);

  myCoverageList = response['data'];
}