Document class

Inheritance

Constructors

Document({String fileName, String mimeType, Minithumbnail minithumbnail, Thumbnail thumbnail, File document})
Describes a document of any type
Document.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

document File
document File containing the document
read / write
fileName String
fileName Original name of the file; as defined by the sender
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
mimeType String
mimeType MIME type of the file; as defined by the sender
read / write
minithumbnail Minithumbnail
minithumbnail Document minithumbnail; may be null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnail Thumbnail
thumbnail Document thumbnail in JPEG or PNG format (PNG will be used only for background patterns); as defined by the sender; may be null
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'document'