getDocTypes function
dynamic
getDocTypes(
- dynamic context
Implementation
getDocTypes(context) async {
try {
final response = await Network().getDocTypes(context);
docListNotifier.value.clear();
docListNotifier.value.addAll(response);
docListNotifier.notifyListeners();
} catch (e) {}
}