onTapItem method
Handles item tap events.
model - The model that was tapped.
Navigates to the detail screen for the tapped item.
Implementation
void onTapItem(BaseModel model) {
selected = model;
if (model is RequestModel) {
AppNavigator.apiDetail(requestModel: model);
}
}