removeLast method

dynamic removeLast()

Implementation

removeLast(){
  inputs.removeWhere((e) => e.isEmpty);
  if(inputs.isNotEmpty) inputs.removeLast();
  last = inputs.isEmpty ? "" : inputs.last.toString();

  value   = inputs.join().trim();
  isFull  = false;
  isEmpty = inputs.isEmpty;
  _fillList();
  notifyListeners();
}