FileInfo class

Represents file information returned by the RapidGator API.

Constructors

FileInfo.new({required String fileId, required int mode, required String modeLabel, String? folderId, required String name, required String hash, required int size, required DateTime created, required String url})
FileInfo.fromJson(Map<String, dynamic> json)
Converts a JSON map into a FileInfo object.
factory

Properties

created DateTime
final
fileId String
final
folderId String?
final
hash String
final
hashCode int
The hash code for this object.
no setterinherited
mode int
final
modeLabel String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
final
url String
final

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