GetStateFunction method
Implementation
Future GetStateFunction(policy_id) async {
final response = await apiRequest(
'GET',
'${APP_URL}get-state?policy_id=$policy_id',
null,
);
StateNameList = response['data'];
}
Future GetStateFunction(policy_id) async {
final response = await apiRequest(
'GET',
'${APP_URL}get-state?policy_id=$policy_id',
null,
);
StateNameList = response['data'];
}