saveData method

void saveData(
  1. String host,
  2. String username,
  3. String passwordOrKey,
  4. int port,
  5. int screenAmount,
)

Implementation

void saveData(String host, String username, String passwordOrKey, int port,
    int screenAmount) {
  _sshData.host = host;
  _sshData.passwordOrKey = passwordOrKey;
  _sshData.username = username;
  _sshData.port = port;
  _sshData.screenAmount = screenAmount;

  notifyListeners();
}