static List<Note> fromJsonList(List notes) => notes .map((n) => n is Map<String, dynamic> ? Note.fromJson(n) : null) .whereType<Note>() .toList();