Skip to content

Instantly share code, notes, and snippets.

Last active October 2, 2022 10:40
What would you like to do?
final someRepositoryProvider = Provider(;
class SomeRepository {
const SomeRepository(this._read);
final Reader _read;
Future<void> fetch() async {
final response = _read(dioProvider).get(...);
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment