onLongTapItem method

dynamic onLongTapItem(
  1. BaseModel model,
  2. BuildContext context
)

Implementation

onLongTapItem(BaseModel model, BuildContext context) async {
  if (model is RequestModel) {
    await _actionForRequest(model, context);
  } else if (model is ErrorModel) {
    await _actionForError(model, context);
  }
}