writeFile method

Future<String?> writeFile(
  1. String fileName,
  2. String content
)

Writes a text file to app-private storage. Returns the absolute path of the written file.

Implementation

Future<String?> writeFile(String fileName, String content) {
  _validateFileName(fileName);
  return NexoraSdkPlatform.instance.writeFile(fileName, content);
}