StorageFile class
File or folder information
Constructors
- StorageFile()
- Constructor
-
StorageFile.fromJson(Map<
String, dynamic> json) - Creates a StorageFile instance from a JSON representation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFolder ↔ bool?
-
True if it is a folder.
getter/setter pair
- modifiedDate ↔ DateTime?
-
File or folder last modified DateTime.
getter/setter pair
- name ↔ String?
-
File or folder name.
getter/setter pair
- path ↔ String?
-
File or folder path.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ int?
-
File or folder size.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a JSON representation of StorageFile.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
List json) → List< StorageFile> - Converts a list of JSON objects to a list of StorageFile instances.