StorageFile class abstract

File on a file storage.

Implementers

Constructors

StorageFile({required String relativeRef, String? checksum, int? size})
StorageFile.fromJson(Map<String, dynamic> json)
Constructs a StorageFile from the provided json.
factory

Properties

checksum → String?
SHA-256 checksum of this StorageFile.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Returns the name of this StorageFile.
no setter
relativeRef → String
Relative reference to this StorageFile on a file storage.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int?
Size of this StorageFile (in bytes).
final
url → String
Returns an absolute URL to this StorageFile on a file storage.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a Map representing this StorageFile.
toString() → String
A string representation of this object.
inherited

Operators

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