fetchAction method

Future<void> fetchAction(
  1. int actionId
)

Implementation

Future<void> fetchAction(int actionId) async {
  setBusy(true);
  // TODO catch error
  _action = await _causesService.getAction(actionId);
  setBusy(false);
  notifyListeners();
}