PlainFile class

Plain-StorageFile on a file storage.

Inheritance
Annotations

Constructors

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

Properties

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

Methods

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

Operators

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