Advise method Null safety

int Advise(
  1. Pointer<NativeType> pfde,
  2. Pointer<Uint32> pdwCookie
)

Implementation

int Advise(Pointer pfde, Pointer<Uint32> pdwCookie) => ptr.ref.lpVtbl.value
    .elementAt(7)
    .cast<Pointer<NativeFunction<_Advise_Native>>>()
    .value
    .asFunction<_Advise_Dart>()(ptr.ref.lpVtbl, pfde, pdwCookie);