MyStringBuffer class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isEmpty
→ bool
-
Returns whether the buffer is empty. This is a constant-time operation.
no setterinherited
-
isNotEmpty
→ bool
-
Returns whether the buffer is not empty. This is a constant-time
operation.
no setterinherited
-
length
→ int
-
Returns the length of the content that has been accumulated so far.
This is a constant-time operation.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear()
→ void
-
Clears the string buffer.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
printToDebug(String text)
→ void
-
-
toString()
→ String
-
Returns the contents of buffer as a single string.
inherited
-
write(Object? object)
→ void
-
Writes the string representation of
object
.
inherited
-
writeAll(Iterable objects, [String separator = ""])
→ void
-
Writes the elements of
objects
separated by separator
.
inherited
-
writeCharCode(int charCode)
→ void
-
Writes a string containing the character with code point
charCode
.
inherited
-
writeln([Object? obj = ""])
→ void
-
Writes the string representation of
object
followed by a newline.
inherited