TextStreamWriter constructor

TextStreamWriter({
  1. void write(
    1. String
    )?,
  2. void writeBlankLines(
    1. num
    )?,
  3. void writeLine(
    1. String
    )?,
  4. num? column,
  5. num? line,
  6. void close()?,
})

Implementation

factory TextStreamWriter({
  void Function(_i2.String)? write,
  void Function(_i2.num)? writeBlankLines,
  void Function(_i2.String)? writeLine,
  _i2.num? column,
  _i2.num? line,
  void Function()? close,
}) =>
    TextStreamWriter._(
      write: write == null ? null : _i3.allowInterop(write),
      writeBlankLines:
          writeBlankLines == null ? null : _i3.allowInterop(writeBlankLines),
      writeLine: writeLine == null ? null : _i3.allowInterop(writeLine),
      column: column,
      line: line,
      close: close == null ? null : _i3.allowInterop(close),
    );