SetEditBoxText method Null safety

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

Implementation

int SetEditBoxText(int dwIDCtl, Pointer<Utf16> pszText) =>
    ptr.ref.lpVtbl.value
        .elementAt(16)
        .cast<Pointer<NativeFunction<_SetEditBoxText_Native>>>()
        .value
        .asFunction<_SetEditBoxText_Dart>()(ptr.ref.lpVtbl, dwIDCtl, pszText);