annotations library
Annotations for riverpod_repo.
Classes
- JSONGenAnnotation
- Reserved annotation for future JSON helpers.
- RepoMutationAnnotation
- Marks a repository method as a command/mutation.
- RepoQueryAnnotation
- Marks a repository method as a read/query and forces provider generation.
- RiverpodRepoAnnotation
- Marks a repository interface for provider generation.
Constants
- ignoreRepo → const RepoMutationAnnotation
- Alias for repoMutation.
- jsonGen → const JSONGenAnnotation
- Reserved annotation for future JSON helpers.
- repoMutation → const RepoMutationAnnotation
- Marks a method as a mutation so no provider is generated.
- repoQuery → const RepoQueryAnnotation
- Marks a method as a query when mutation heuristics would skip it.
- riverpodRepo → const RiverpodRepoAnnotation
- Default RiverpodRepoAnnotation with auto-dispose providers.