Config class Null safety

Class allowing to modify the library's behaviour via parameters.

Constructors

Config({String label = '', bool flood = false, bool public = false, int serverPort = 52000, int expiryTime = 10, int validityPeriod = 7200, int validityCheck = 7200})
Creates a Config object.

Properties

expiryTime int
read / write
flood bool
read / write
hashCode int
The hash code for this object.
read-onlyinherited
label String
read / write
public bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
serverPort int
Port value of the server socket (Wi-Fi Direct).
read / write
timeOut int
read / write
validityCheck int
read / write
validityPeriod int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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