CoursesCubit constructor
- required AppClock clock,
- LibraryBlobStore? blobs,
- SharedPreferencesAsync? prefs,
- Uint8List? publicKey,
Implementation
CoursesCubit({
required this.clock,
LibraryBlobStore? blobs,
SharedPreferencesAsync? prefs,
Uint8List? publicKey,
}) : _blobs = blobs ?? createLibraryBlobStore(),
_prefs = prefs ?? SharedPreferencesAsync(),
_publicKey = publicKey ?? libraryKeyFromEnvironment(),
super(const CoursesState());