getPackageName static method

Future<String?> getPackageName()

Returns the FFmpegKit Flutter binary package name.

Implementation

static Future<String?> getPackageName() async {
  try {
    await FFmpegKitConfig.init();
    return _platform.getPackageName();
  } on PlatformException catch (e, stack) {
    print("Plugin getPackageName error: ${e.message}");
    return Future.error("getPackageName failed.", stack);
  }
}