queryAllAitSession method

Future<List<String>> queryAllAitSession(
  1. String accId
)

Implementation

Future<List<String>> queryAllAitSession(String accId) async {
  final prefix = '$accId/';
  return _store.entries
      .where((e) => e.key.startsWith(prefix) && e.value.isNotEmpty)
      .map((e) => e.key.substring(prefix.length))
      .toList();
}