groupDetails function

  1. @riverpod
FutureOr<Group> groupDetails(
  1. Ref ref,
  2. String id
)

Implementation

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