readInstallationFile static method

Future<String> readInstallationFile(
  1. File installFile
)

Returns the content of the 'install file.' Pass in a File object of the install file.

Implementation

static Future<String> readInstallationFile(File installFile) async {
  //
  final file = await Files.get(fileName);
  final content = await Files.readFile(file);
  return content;
}