File class

Represents a file in the storage system.

Inheritance

Constructors

File.new({required String id, required String name, required DateTime createdAt, required DateTime modifiedAt, String? parentId})
Creates a new instance of File.

Properties

createdAt DateTime
Creation timestamp of the item.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier of the item.
final
modifiedAt DateTime
Last modification timestamp of the item.
final
name String
Name of the item.
final
parentId String?
ID of the parent folder, if any.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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