StoragePath class
The full remote path of a storage item.
Examples
Static Path
const p = StoragePath.fromString('path/to/object.png');
Dynamic Path with the current user's IdentityId
const p = StoragePath.fromIdentityId((String identityId) => 'users/$identityId/object.png');
Constructors
- StoragePath.fromIdentityId(String pathBuilder(String identityId))
-
Creates a StoragePath from the current user's identityId.
factory
- StoragePath.fromString(String path)
-
Creates a StoragePath from a static string.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvePath(
{String? identityId}) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited