getChildren method
The direct children of parentId (roots when null), in file order.
Implementation
Future<List<SessionRecord>> getChildren(String? parentId) async {
return [
for (final entry in await _storage.getEntries())
if (entry.parentId == parentId) entry,
];
}