ITextWriter constructor

ITextWriter({
  1. void write(
    1. String
    )?,
  2. void writeLine(
    1. String
    )?,
  3. void close()?,
})

Implementation

factory ITextWriter({
  void Function(_i2.String)? write,
  void Function(_i2.String)? writeLine,
  void Function()? close,
}) =>
    ITextWriter._(
      write: write == null ? null : _i3.allowInterop(write),
      writeLine: writeLine == null ? null : _i3.allowInterop(writeLine),
      close: close == null ? null : _i3.allowInterop(close),
    );