saveFileIntoCustomDir method

  1. @override
Future<String?> saveFileIntoCustomDir({
  1. required String filePath,
  2. required String dirNamed,
  3. bool removeOriginFile = false,
})
override

Implementation

@override
Future<String?> saveFileIntoCustomDir(
    {required String filePath,
    required String dirNamed,
    bool removeOriginFile = false}) {
  final args = {
    'dirNamed': dirNamed,
    'filePath': filePath,
    'removeOriginFile': removeOriginFile,
  };
  return methodChannel.invokeMethod<String>(Constant.saveFileCustomDir, args);
}