isStackExists method

dynamic isStackExists(
  1. dynamic param
)

Implementation

isStackExists(param) {
  if (_stackList.isNotEmpty) {
    Map lastItem = _stackList.last;
    if (lastItem[gParam].toString() == param.toString()) {
      return true;
    }
  }
  return false;
}