GetFileTime method Null safety

int GetFileTime(
  1. Pointer<PROPERTYKEY> key,
  2. Pointer<FILETIME> pft
)

Implementation

int GetFileTime(Pointer<PROPERTYKEY> key, Pointer<FILETIME> pft) =>
    ptr.ref.lpVtbl.value
        .elementAt(15)
        .cast<Pointer<NativeFunction<_GetFileTime_Native>>>()
        .value
        .asFunction<_GetFileTime_Dart>()(ptr.ref.lpVtbl, key, pft);