TTYWriteStream class abstract

Inheritance
Annotations
  • @JS()
  • @anonymous

Constructors

TTYWriteStream()

Properties

bufferSize int
no setterinherited
bytesRead int
no setterinherited
bytesWritten int
no setterinherited
columns int
A number specifying the number of columns the TTY currently has.
no setter
connecting bool
no setterinherited
destroyed bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isTTY bool
A boolean that is always true for this stream.
no setter
localAddress String
no setterinherited
localFamily String
no setterinherited
localPort int
no setterinherited
readableHighWaterMark int
no setterinherited
readableLength int
no setterinherited
remoteAddress String
no setterinherited
remoteFamily String
no setterinherited
remotePort int
no setterinherited
rows int
A number specifying the number of rows the TTY currently has.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writableHighWaterMark int
no setterinherited
writableLength int
no setterinherited

Methods

addListener(dynamic eventName, Function listener) → void
inherited
address() NetAddress
inherited
clearLine(num dir, [void callback()]) bool
Clears the current line of this stream in a direction identified by dir.
clearScreenDown([void callback()]) bool
Clears this stream from the current cursor down.
connect(dynamic arg1, [dynamic arg2, dynamic arg3]) Socket
See official documentation on possible signatures:
inherited
cork() → void
inherited
cursorTo(num x, [num y, void callback()]) bool
Moves this stream's cursor to the specified position.
destroy([dynamic exception]) Socket
inherited
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6]) → void
inherited
end([dynamic data, dynamic encoding, void unused()]) Socket
inherited
eventNames() List
inherited
getColorDepth([dynamic env]) num
Use this to determine what colors the terminal supports.
getMaxListeners() int
inherited
getWindowSize() List<num>
Returns the size of the TTY corresponding to this stream.
hasColors([dynamic count, dynamic env]) bool
Returns true if this stream supports at least as many colors as provided in count.
isPaused() bool
inherited
listenerCount(dynamic eventName) int
inherited
listeners(dynamic eventName) List<Function>
inherited
moveCursor(num dx, num dy, [void callback()]) bool
Moves this stream's cursor relative to its current position.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(dynamic eventName, Function listener) EventEmitter
inherited
once(dynamic eventName, Function listener) EventEmitter
inherited
pause() Socket
inherited
pipe(Writable destination, [dynamic options]) Writable
inherited
prependListener(dynamic eventName, Function listener) EventEmitter
inherited
prependOnceListener(dynamic eventName, Function listener) EventEmitter
inherited
push(dynamic chunk, [dynamic encoding]) bool
inherited
rawListeners(dynamic eventName) List<Function>
inherited
read([int size]) → dynamic
inherited
ref() Socket
inherited
removeAllListeners(dynamic eventName) EventEmitter
inherited
removeListener(dynamic eventName, Function listener) EventEmitter
inherited
resume() Socket
inherited
setDefaultEncoding(String encoding) → void
inherited
setEncoding([String encoding]) Socket
inherited
setKeepAlive([bool enable, dynamic initialDelay]) Socket
inherited
setMaxListeners(int value) → void
inherited
setNoDelay([bool noDelay]) Socket
inherited
setTimeout(dynamic timeout, [void callback()]) Socket
inherited
toString() String
A string representation of this object.
inherited
uncork() → void
inherited
unpipe([Writable destination]) → void
inherited
unref() Socket
inherited
unshift(dynamic chunk) → void
inherited
wrap(dynamic stream) → void
inherited
write(dynamic chunk, [dynamic encodingOrCallback, void callback()]) bool
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited