AddText method Null safety

int AddText(
  1. int dwIDCtl,
  2. Pointer<Utf16> pszText
)

Implementation

int AddText(int dwIDCtl, Pointer<Utf16> pszText) => ptr.ref.lpVtbl.value
    .elementAt(11)
    .cast<Pointer<NativeFunction<_AddText_Native>>>()
    .value
    .asFunction<_AddText_Dart>()(ptr.ref.lpVtbl, dwIDCtl, pszText);