FileReference class

Constructors

FileReference({required String name, required int created, required int version, required FileVersion file, Map<String, dynamic>? ext, Map<int, FileVersion>? history, String? mimeType})
FileReference.decode(Map<int, dynamic> data)
factory

Properties

created int
Unix timestamp (in milliseconds) when this file was created
getter/setter pair
ext Map<String, dynamic>?
Can be used by applications to add more metadata
getter/setter pair
file FileVersion
The current version of a file
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
history Map<int, FileVersion>?
Historic versions of a file
getter/setter pair
key String?
getter/setter pair
mimeType String?
MIME Type of the file, optional
getter/setter pair
modified int
Unix timestamp (in milliseconds) when this file was last modified
no setter
name String
Name of this file
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
getter/setter pair
version int
getter/setter pair

Methods

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

Operators

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