studioDetails function

  1. @riverpod
FutureOr<Studio> studioDetails(
  1. Ref ref,
  2. String id
)

Implementation

@riverpod
FutureOr<Studio> studioDetails(Ref ref, String id) async {
  ref.keepAlive();
  final repository = ref.read(studioRepositoryProvider);
  return repository.getStudioById(id);
}