DocumentPlatform class abstract

The interface that all platform-specific implementations of the document picker must extend.

This class should not be implemented directly. Instead, extend this class and provide a concrete implementation of getDoc.

Inheritance
  • Object
  • PlatformInterface
  • DocumentPlatform
Implementers

Constructors

DocumentPlatform()
Constructs a DocumentPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDoc() Future<File?>
Picks a document and returns its path as a String.
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

Static Properties

instance DocumentPlatform
The default instance of DocumentPlatform to use.
getter/setter pair