operator == method
Returns true if this StringBuilder equals the specified object.
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is StringBuilder) {
return _buffer.toString() == other._buffer.toString();
}
if (other is String) {
return _buffer.toString() == other;
}
return false;
}