toMap method
Return a Map
from the current ConnectionModel
.
Implementation
Map<String, dynamic> toMap() => {
'username': username,
'password': password,
'ip': ip,
'port': port,
'isConnected': isConnected,
'screenAmount': screenAmount,
};