File class
File
- Implemented types
Constructors
-
File({required String $id, required String bucketId, required String $createdAt, required String $updatedAt, required List<
String> $permissions, required String name, required String signature, required String mimeType, required int sizeOriginal, required int chunksTotal, required int chunksUploaded}) -
File.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
File creation date in ISO 8601 format.
final
- $id → String
-
File ID.
final
-
$permissions
→ List<
String> -
File permissions. Learn more about permissions.
final
- $updatedAt → String
-
File update date in ISO 8601 format.
final
- bucketId → String
-
Bucket ID.
final
- chunksTotal → int
-
Total number of chunks available
final
- chunksUploaded → int
-
Total number of chunks uploaded
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType → String
-
File mime type.
final
- name → String
-
File name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → String
-
File MD5 signature.
final
- sizeOriginal → int
-
File original size in bytes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited