Sync class Null safety
Constructors
- Sync()
- Sync.instance(String distroName, dynamic statusMsg(String, {bool loading}))
- Constructor @param {String} distroName @param {Function} statusMsg
Properties
- distroLocation ↔ String
-
read / write
- distroName ↔ String
-
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- statusMsg ↔ dynamic Function(String, {bool loading})
-
read / write
Methods
-
download(
) → void - Download from sync IP
-
hasPath(
String distroName) → bool - Check if distro has path in settings @param {String} distroName
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
startServer(
) → void - Start the server
-
stopServer(
) → void - Stop the server
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- server ↔ HttpServer
-
read / write