rename method

  1. @override
Future<bool> rename(
  1. String filename,
  2. String newFilename
)
override

Implementation

@override
Future<bool> rename(String filename, String newFilename) async {
  Map<String, dynamic> options = {
    "filename": filename,
    "newfilename": newFilename,
  };
  return await methodChannel.invokeMethod("rename", options);
}