removeItem method

dynamic removeItem()

Implementation

removeItem() {
  if (contextList.isEmpty) {
    contextList = [];
  }
  contextList.removeLast();
}