TextStreamReader constructor

TextStreamReader({
  1. bool? atEndOfLine,
  2. bool? atEndOfStream,
  3. String read(
    1. num
    )?,
  4. String readAll()?,
  5. String readLine()?,
  6. void skip(
    1. num
    )?,
  7. void skipLine()?,
  8. num? column,
  9. num? line,
  10. void close()?,
})

Implementation

factory TextStreamReader({
  _i2.bool? atEndOfLine,
  _i2.bool? atEndOfStream,
  _i2.String Function(_i2.num)? read,
  _i2.String Function()? readAll,
  _i2.String Function()? readLine,
  void Function(_i2.num)? skip,
  void Function()? skipLine,
  _i2.num? column,
  _i2.num? line,
  void Function()? close,
}) =>
    TextStreamReader._(
      atEndOfLine: atEndOfLine,
      atEndOfStream: atEndOfStream,
      read: read == null ? null : _i3.allowInterop(read),
      readAll: readAll == null ? null : _i3.allowInterop(readAll),
      readLine: readLine == null ? null : _i3.allowInterop(readLine),
      skip: skip == null ? null : _i3.allowInterop(skip),
      skipLine: skipLine == null ? null : _i3.allowInterop(skipLine),
      column: column,
      line: line,
      close: close == null ? null : _i3.allowInterop(close),
    );