find method
Implementation
MenuElement? find({required int uniqueId}) {
  if (uniqueId == this.uniqueId) {
    return this;
  } else {
    return null;
  }
}MenuElement? find({required int uniqueId}) {
  if (uniqueId == this.uniqueId) {
    return this;
  } else {
    return null;
  }
}