all property

List<GoalEntry> get all

Active entries ordered by creation time.

Implementation

List<GoalEntry> get all {
  final list = goals.values.toList()
    ..sort((a, b) => a.createdAt.compareTo(b.createdAt));
  return list;
}