FtpFile class

Inheritance

Constructors

FtpFile({required String path, required FtpClient client, FtpEntryInfo? info})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
info FtpEntryInfo?
finalinherited
isAbsolute bool
no setterinherited
isDirectory bool
no setteroverride
isFile bool
no setterinherited
name String
no setterinherited
parent FtpDirectory
no setterinherited
path String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

as<T extends FtpEntry>() → T
inherited
copy(String newPath) Future<bool>
override
copyWith({String? path, FtpEntryInfo? info}) FtpFile
create({bool recursive = false}) Future<bool>
override
delete({bool recursive = false}) Future<bool>
override
exists() Future<bool>
override
move(String newPath) Future<FtpFile>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rename(String newName) Future<FtpFile>
override
size() Future<int>
toString() String
A string representation of this object.
override

Operators

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