connect method

Future<void> connect(
  1. dynamic device_id,
  2. dynamic project_id,
  3. dynamic completeAddress,
  4. dynamic authorization_token,
  5. dynamic refID,
)

Implementation

Future<void> connect(device_id, project_id, completeAddress,
  authorization_token, refID) async {
  completeAddresssForOne2Many = completeAddress;
  project_ID = project_id;
  authorizationToken = authorization_token;
  ref_id = refID;
  deviceId = device_id;
  isUnRegistered = false;

  checkConnectivity();
  _getPermissions();
}