FileMetadata class
The fields of this class can be used to fetch the file's contents (id), as well as populate the headers of an HttpResponse if you were to serve this file to a client.
Constructors
Properties
- bucketId → String
-
final
- createdAt → DateTime
-
final
- etag → String
-
etag value for HTTP response header
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
UUID identifying the file on the server
final
- mimeType → String
-
content-type value for HTTP response header
final
- name → String
-
Path to file
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Size of file in bytes
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic json) → FileMetadata