openFileManager method
Implementation
@override
Future<bool> openFileManager({
AndroidConfig? androidConfig,
IosConfig? iosConfig,
}) async {
final data = <String, dynamic>{};
if (Platform.isAndroid && androidConfig != null) {
data['folderType'] = androidConfig.folderType.name;
} else if (Platform.isIOS && iosConfig != null) {
data['subFolderPath'] = iosConfig.subFolderPath;
}
final version =
await methodChannel.invokeMethod<bool?>('openFileManager', data);
return version ?? false;
}