MethodChannelOpenDocument class Null safety

An implementation of OpenDocumentPlatform that uses method channels.

Inheritance

Constructors

MethodChannelOpenDocument()

Properties

hashCode int
The hash code for this object.
read-only, inherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
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
override
getNameFile({required String url}) Future<String>
get the url name
override
getNameFolder({String? widowsFolder}) Future<String>
takes folder name as app name for Android and iOS for Windows pass the name in the paramwidowsFolder
override
getPathDocument({required String folderName}) Future<String>
take path from folder folderName return path
override
getPlatformVersion() Future<String?>
inherited
initialize() → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
openDocument({required String filePath}) Future<void>
open document filePath
override
toString() String
A string representation of this object.
inherited

Operators

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