FileManager class

Constructors

FileManager()

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

backupPubspec({String? filePath, String? targetPath}) → void
Backup the pubspec.yaml
deletePubspec({required String targetPath}) → void
Delete specified file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPubspecFile(String fileName) Map
Read a pubspec file
restorePubspec({String? sourcePath, String? targetPath}) → void
Restore pubspec.yaml from backup file
toString() String
A string representation of this object.
inherited
writePubspecFile(String filePath, Map content) → void

Operators

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