indexOf method
Implementation
int indexOf(dynamic key) {
if (_map.containsKey(key)) {
return _queue.indexOf(_map[key]!);
}
return -1;
}
int indexOf(dynamic key) {
if (_map.containsKey(key)) {
return _queue.indexOf(_map[key]!);
}
return -1;
}