StorageGrant class

Constructors

StorageGrant({List<StoragePathGrant>? paths, FilesPolicy? files})
StorageGrant.fromJson(Map<String, dynamic> j)
factory

Properties

files → FilesPolicy?
final
hashCode → int
The hash code for this object.
no setterinherited
paths → List<StoragePathGrant>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

canDelete(String path, {bool recursive = false}) → bool
canList(String path) → bool
canListDirectory(String path) → bool
canPresign(String path) → bool
canRead(String path, {bool subtree = false}) → bool
canWrite(String path, {bool subtree = false}) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited