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