Key constructor

Key(
  1. String name,
  2. Pointer<NativeType> obj
)

Constructs a key referencing the underlying C obj in memory

The type and name are used to classify the type of key

Implementation

Key(this.name, this.obj) {
  type = _c_string_to_key_type(name.toNativeUtf8());
  raiseForStatus();
}