readFile method

  1. @override
Future<String?> readFile(
  1. String path
)
override

Reads the contents of a file as a string.

Implementation

@override
Future<String?> readFile(String path) async {
  return await methodChannel.invokeMethod('readFile', {'path': path});
}