storageInstance function

  1. @Riverpod(keepAlive: true)
FirebaseStorage storageInstance(
  1. dynamic ref
)

A provider for the Firebase Storage instance.

This provider is used to provide the Firebase Storage instance to the StorageService class. It is used to interact with Firebase Storage.

Implementation

@Riverpod(keepAlive: true)
FirebaseStorage storageInstance(StorageInstanceRef ref) =>
    FirebaseStorage.instance;