Native class

Implemented types

Constructors

Native(String path)

Properties

hashCode int
The hash code for this object.
no setterinherited
root Directory
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() → void
Method for connecting the file system.
override
create(String path, {bool recursive = false, EntityType type = EntityType.file}) → void
override
delete(String path, {bool recursive = false, EntityType type = EntityType.file}) → void
Deletes this Entity
override
disconnect() → void
Method for disconnecting the file system.
override
exists(String path, {EntityType type = EntityType.file}) bool
override
list(String dirPath) Stream<Entity>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openRead(String filePath) Stream<List<int>>
override
stat(String path, {EntityType type = EntityType.file}) Stat
Returns Stat for Entity.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

copyNativeToNative({required String pathIn, required String pathOut, required Native fsIn, required Native fsOut}) File
moveNativeToNative({required String pathIn, required String pathOut, required Native fsIn, required Native fsOut, EntityType type = EntityType.file}) Entity