copyFile method

  1. @override
Future<bool> copyFile(
  1. String srcFile,
  2. String dstFile, {
  3. int bufferSize = 1024,
})
override

Implementation

@override
Future<bool> copyFile(String srcFile, String dstFile,
    {int bufferSize = 1024}) async {
  return await methodChannel.invokeMethod<bool>('copyFile', {
        'srcFile': srcFile,
        'dstFile': dstFile,
        'bufferSize': bufferSize
      }) ??
      false;
}