RiverpodRepoAnnotation constructor

const RiverpodRepoAnnotation({
  1. bool keepAlive = false,
})

Creates a repository annotation.

When keepAlive is true, generated providers are kept alive instead of auto-disposed.

Implementation

const RiverpodRepoAnnotation({this.keepAlive = false});