CkHashtable constructor

CkHashtable()

Creates a new CkHashtable object.

Implementation

CkHashtable() : _h = _CkHashtable_Create2(_progLangDart) {
  if (_h == nullptr) {
    throw StateError('CkHashtable: the native object could not be created');
  }
  _CkHashtable_put_Utf8(_h, 1);
  _finalizer.attach(this, _h, detach: this);
}