isCurrentPage static method

bool isCurrentPage(
  1. String tag
)

Implementation

static bool isCurrentPage(String tag){
   return pageList.isNotEmpty&&pageList.first==tag;
}