@riverpod FutureOr<Group> groupDetails(Ref ref, String id) async { final repository = ref.watch(groupRepositoryProvider); return repository.getGroupById(id); }