readFile method
Future<bool>
readFile({
- required String tempFilePath,
- required String fileName,
- required DirType dirType,
- required DirName dirName,
- required String relativePath,
override
Implementation
@override
Future<bool> readFile({
required String tempFilePath,
required String fileName,
required DirType dirType,
required DirName dirName,
required String relativePath,
}) async {
final status = await methodChannel.invokeMethod<bool>('readFile', {
"tempFilePath": tempFilePath,
"fileName": fileName,
"dirType": dirType.index,
"dirName": dirName.folder,
"appFolder": relativePath,
});
return status ?? false;
}