SubjectsRepository constructor Null safety
- {required StorageProvider storageProvider,
- SubjectsProvider? provider}
Implementation
SubjectsRepository({
required StorageProvider storageProvider,
SubjectsProvider? provider,
}) {
_provider = provider ?? SubjectsProvider(storageProvider: storageProvider);
}