SapObject constructor

SapObject(
  1. int handle,
  2. ISapApi _api, {
  3. bool owned = true,
})

Implementation

SapObject(this.handle, this._api, {this.owned = true}) {
  if (owned && handle != 0) {
    _finalizer.attach(this, _FinalizerState(handle, _api), detach: this);
  }
}