dart / 2 / dart-collection / queue / remove.html

remove method

bool remove(
  1. Object? value
)

Removes a single instance of value from the queue.

Returns true if a value was removed, or false if the queue contained no element equal to value.

Implementation

bool remove(Object? value);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-collection/Queue/remove.html