CanMessage.fromPointer constructor
- Pointer<
NativeCanMessage> pointer, { - required bool isNative,
Stores a reference to a NativeCanMessage and where it was allocated.
Implementation
CanMessage.fromPointer(this.pointer, {required this.isNative}) {
if (isNative) _finalizer.attach(this, pointer.cast(), detach: this);
}