data property

List<int> get data

Returns the key data as a List

A key cannot be reconstructed from this data, as this is intended for uniquely identifying keys

Implementation

List<int> get data {
  if (obj == nullptr)
  {
    throw Exception("Cannot get key data, as obj is not set");
  }
  Pointer<Uint64> data = _c_get_key_data(obj);
  int length = _c_get_key_data_size(obj);
  List<int> keyData = data.asTypedList(length).toList();
  return keyData;
}