StoragePath.fromString constructor

const StoragePath.fromString(
  1. String path
)

Creates a StoragePath from a static string.

To create a StoragePath from the current user's identity Id, see StoragePath.fromIdentityId

Example

const p = StoragePath.fromString('path/to/object.png');

Implementation

const StoragePath.fromString(String path) : _path = path;