write abstract method

void write(
  1. String filePath,
  2. String content, {
  3. Warnable? element,
})

Writes content to a file at filePath.

If a file is to be overwritten, a warning will be reported on element.

Implementation

void write(String filePath, String content, {Warnable? element});