@override bool get optional { if (references.every((ref) => ref.optional)) { return true; } return false; }