MethodChannelOpenDocument class
An implementation of OpenDocumentPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- OpenDocumentPlatform
- MethodChannelOpenDocument
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkDocument(
{required String filePath}) → Future< bool> -
Check if the path already exists in document folder
filePath
override -
getNameFile(
{required String url}) → Future< String> -
Get the url name
override
-
getNameFolder(
) → Future< String> -
Get the folder name is the same as the application
override
-
getPathDocument(
) → Future< String> -
Return path folder
override
-
initialize(
) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openDocument(
{required String filePath}) → Future< void> -
Open the document by the indicated path
filePath
,override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited