writeStringSync method Null safety

  1. @override
void writeStringSync(
  1. String string,
  2. {Encoding encoding = utf8}
)
override

Synchronously writes a single string to the file using the given Encoding.

Throws a FileSystemException if the operation fails.

Implementation

@override
void writeStringSync(String string, {Encoding encoding = utf8}) =>
    delegate.writeStringSync(string, encoding: encoding);