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

StorageService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
The currently authenticated user's UID.
no setter

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