HttpTransferServer class

Constructors

HttpTransferServer({required int port, required Directory outputDirectory, double maxFileSizeMb = 100.0, String deviceName = 'Flutter Device'})

Properties

deviceName → String
final
files → List<FileItem>
no setter
hashCode → int
The hash code for this object.
no setterinherited
maxFileSizeMb → double
final
outputDirectory → Directory
final
port → int
final
processCubit ↔ ProcessCubit
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFile(FileItem file) → void
dispose() → void
getDeviceName() → Future<String>
getLocalIp() → Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFile(String filePath) → bool
scanDirectory() → Future<void>
start() → Future<void>
stop() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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