FileModel class

Constructors

FileModel({required int id, required String name, String? path, required String uri, required int size, required DateTime dateAdded, required DateTime dateModified, required String mimeType, String? fileExtension})
FileModel.fromMap(Map<String, dynamic> map)
factory

Properties

dateAdded → DateTime
final
dateModified → DateTime
final
fileExtension → String?
final
formattedSize → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → int
final
mimeType → String
final
name → String
final
path → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
final
uri → String
final

Methods

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

Operators

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