$StringBuffer class

dart_eval wrapper for StringBuffer

Implemented types

Constructors

$StringBuffer.wrap(StringBuffer $value)
Wrap a StringBuffer in a $StringBuffer.

Properties

$reified StringBuffer
Fully reify the underlying value so it can be used in a Dart context. For example, recursively transform collections into their underlying $values.
no setteroverride
$value StringBuffer
The backing Dart value of this $Value
final
hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Returns whether the buffer is empty. This is a constant-time operation.
no setteroverride
isNotEmpty bool
Returns whether the buffer is not empty. This is a constant-time operation.
no setteroverride
length int
Returns the length of the content that has been accumulated so far. This is a constant-time operation.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$getProperty(Runtime runtime, String identifier) $Value?
Get a property by identifier on this instance
override
$getRuntimeType(Runtime runtime) int
override
$setProperty(Runtime runtime, String identifier, $Value value) → void
Set a property by identifier on this instance to value
override
clear() → void
Clears the string buffer.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
write(Object? object) → void
Writes the string representation of object.
override
writeAll(Iterable objects, [String separator = ""]) → void
Writes the elements of objects separated by separator.
override
writeCharCode(int charCode) → void
Writes a string containing the character with code point charCode.
override
writeln([Object? object = ""]) → void
Writes the string representation of object followed by a newline.
override

Operators

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

Static Methods

$new(Runtime runtime, $Value? target, List<$Value?> args) $StringBuffer
Create a new $StringBuffer with the given content.

Constants

$declaration → const BridgeClassDef
Compile-time bridge declaration of $StringBuffer