indexOf method

int indexOf(
  1. dynamic key
)
override

Implementation

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