getDocTypes function

dynamic getDocTypes(
  1. dynamic context
)

Implementation

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