ControllerDocument class Null safety
Constructors
- ControllerDocument(MethodChannel methodChannel)
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- methodChannel → MethodChannel
-
final
- 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 -
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