hello method

Future hello({
  1. String? deviceToken,
})

Say hello and set some initial configuration

Implementation

Future hello({String? deviceToken}) {
  if (deviceToken != null) {
    _configService.deviceToken = deviceToken;
  }
  var packet = _packetGenerator.generate(packet_types.Hi, null);
  return _send(packet);
}