fileWriteString function

void fileWriteString(
  1. String path,
  2. String data
)

Implementation

void fileWriteString(String path, String data) =>
    File(path).writeAsStringSync(data);