FlutterAvifImpl constructor

FlutterAvifImpl(
  1. DynamicLibrary dyLib
)

Implementation

FlutterAvifImpl(ffi.DynamicLibrary dyLib)
    : this.flutterAvifFFI = fa_ffi.FlutterAvifFFI(dyLib) {
  final storeDartPostCObject =
      dyLib.lookupFunction<dartPostCObject, dartPostCObject>(
    'store_dart_post_cobject',
  );
  storeDartPostCObject(NativeApi.postCObject);
}