getPackageName method
Returns FlutterFFmpeg package name.
Implementation
Future<String?> getPackageName() async {
try {
var result = await _methodChannel.invokeMethod('getPackageName');
return result['packageName'];
} on PlatformException catch (e, stack) {
logger.e('Plugin getPackageName error: ${e.message}');
return Future.error('getPackageName failed.', stack);
}
}