- Inheritance
- Object
- StringBuffer
- CatString
Constructors
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - isEmpty → bool
-
Returns whether the buffer is empty. This is a constant-time operation.
read-only, inherited - isNotEmpty → bool
-
Returns whether the buffer is not empty. This is a constant-time operation.
read-only, inherited - length → int
-
Returns the length of the content that has been accumulated so far. This is a constant-time operation.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
clear(
) → void -
Clears the string buffer.
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns the contents of buffer as a concatenated string.
inherited -
write(
Object obj) → void -
Adds the contents of
obj
, converted to a string, to the buffer.inherited -
writeAll(
Iterable objects, [ String separator = "" ]) → void -
Iterates over the given
objects
andwrite
s them in sequence.inherited -
writeCharCode(
int charCode) → void -
Adds the string representation of
charCode
to the buffer.inherited -
writeln(
[Object obj = "" ]) → void -
Converts
obj
to a String by invokingObject.toString
and adds the result tothis
, followed by a newline.inherited