StorageService class
A service class for managing photo uploads to Firebase Storage.
This class is designed for future integration with the Itinereo app, particularly for saving diary-related photos in the cloud.
Images are stored under the path:
Users/{userId}/diary_photos/{timestamp}.jpg
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadPhoto(
File imageFile) → Future< String> - Uploads an image file to Firebase Storage and returns its public URL.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited