getEntryFromId method

RouteQueueEntry? getEntryFromId(
  1. int id
)

Implementation

RouteQueueEntry? getEntryFromId(int id) {
  RouteQueueEntry? entry;
  forEach((e) {
    if (e._id == id) {
      entry = e;
      return true;
    }
    return false;
  });
  return entry;
}