destroy static method

Future destroy(
  1. int engineId,
  2. CommonCallback callback,
  3. bool isReload
)

Implementation

static Future<dynamic> destroy(
  int engineId,
  CommonCallback callback,
  bool isReload,
) async {
  _BridgeFFIManager.instance.destroy(
    engineId,
    generateCallback((value) {
      callback(value);
    }),
    isReload ? 1 : 0,
  );
}