ISpellChecker2 constructor

ISpellChecker2(
  1. VTablePointer ptr
)

Creates a new instance of ISpellChecker2 from a VTablePointer.

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

Implementation

ISpellChecker2(super.ptr)
  : _vtable = ptr.value.cast<ISpellChecker2Vtbl>().ref;