OpenDocument class

  • Serves to create a local folder with the name of the app
  • Storage of documents and files
  • It has the power to open the zip creating a new folder with the name of the file using the plugin Archive

Constructors

OpenDocument()

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

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 Methods

checkDocument({required String filePath}) → dynamic
  • Check if the path already exists in document folder filePath
  • getNameFile({required String url}) Future<String>
  • Get the url name
  • getNameFolder() Future<String>
  • Get the folder name is the same as the application
  • getPathDocument() Future<String>
  • Return path folder
  • openDocument({required String filePath}) Future<void>
  • Open the document by the indicated path filePath,