IMMEndpoint constructor

IMMEndpoint(
  1. VTablePointer ptr
)

Creates a new instance of IMMEndpoint from a VTablePointer.

This constructor requires a valid pointer to the IMMEndpoint interface. The ptr must not be nullptr; otherwise, an assertion error is thrown.

Implementation

IMMEndpoint(super.ptr) : _vtable = ptr.value.cast<IMMEndpointVtbl>().ref;