OpenDocumentPlatform class Null safety
- Inheritance
-
- Object
- PlatformInterface
- OpenDocumentPlatform
- Implementers
Constructors
- OpenDocumentPlatform()
- Constructs a OpenDocumentPlatform.
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
checkDocument(
{required String filePath}) → Future< bool> -
check if the path already exists in document folder
filePath
-
getNameFile(
{required String url}) → Future< String> - get the url name
-
getNameFolder(
{String? widowsFolder}) → Future< String> -
takes folder name as app name for Android and iOS
for Windows pass the name in the param
widowsFolder
-
getPathDocument(
{required String folderName}) → Future< String> -
take path from folder
folderName
return path -
getPlatformVersion(
) → Future< String?> -
initialize(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
openDocument(
{required String filePath}) → Future< void> -
open document
filePath
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ OpenDocumentPlatform
-
The default instance of OpenDocumentPlatform to use.
read / write