onTap method

Future<bool> onTap()

Implementation

Future<bool> onTap() async
{
  if (parent is ListModel)
  {
    (parent as ListModel).onTap(this);
  }
  await EventHandler(this).execute(_onclick);
  return true;
}