ImmutableStruct constructor
ImmutableStruct(
- Pointer<
NativeType> _pointer, - Type _structType, {
- String debugName = 'Unnamed',
Constructs an ImmutableStruct for the given pointer and struct type.
- pointer: The pointer to the struct.
structType
: The type of the struct.debugName
: Optional name for debugging purposes.
Implementation
ImmutableStruct(this._pointer, this._structType,
{String debugName = 'Unnamed'})
: _debugName = debugName;