RawService constructor

RawService({
  1. String? dir,
  2. String? file,
  3. double timeout = 30,
  4. int? newVerbosityLevel,
  5. void onStreamError(
    1. dynamic
    )?,
  6. void onReceive(
    1. String
    )?,
})

Implementation

RawService({
  // Parameters for native lib loader
  this.dir,
  this.file,
  // Parameters for handling client
  this.timeout = 30,
  // Parameters for td api
  int? this.newVerbosityLevel,
  // Event handlers
  this.onStreamError,
  this.onReceive,
}) {
  _client = Client(dir: dir, file: file);
}