newNotes property

List<Object?> get newNotes

New app notes, oldest first, or an empty list when none are offered.

Implementation

List<Object?> get newNotes => switch (context('app_notes')) {
  {'new': final List<Object?> notes} => notes,
  _ => const [],
};