void remove(InputHistoryItem item) { this._items!.removeWhere((i) => i.createdTime == item.createdTime); }