A dynamic model for the COVID‐19 with direct and indirect transmission pathways