ConnectionModel class
Model that represents the Connection with the LG
, with all of its properties and methods.
Constructors
- ConnectionModel({String username = 'lg', String password = '', String ip = '', int port = 22, bool isConnected = false, int screenAmount = 3})
-
ConnectionModel.fromMap(Map<
String, dynamic> map) -
Turns a
Map
into aConnectionModel
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ip ↔ String
-
Property that defines the Liquid Galaxy master IP.
getter/setter pair
- isConnected ↔ bool
-
Property that defines the Liquid Galaxy connection status
getter/setter pair
- password ↔ String
-
Property that defines the Liquid Galaxy master password.
getter/setter pair
- port ↔ int
-
Property that defines the Liquid Galaxy master SSH port. Defaults is 22.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenAmount ↔ int
-
Property that defines the Liquid Galaxy screen amount
getter/setter pair
- username ↔ String
-
Property that defines the Liquid Galaxy master username.
Default is 'lg'.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Return a
Map
from the currentConnectionModel
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited