next method
Returns the next parsed attribute, or null if exhausted.
Implementation
VtSgrAttributeData? next() {
_ensureOpen();
final hasNext = bindings.ghostty_sgr_next(_handle, _attrPtr);
if (!hasNext) {
return null;
}
return VtSgrAttributeData.fromPointer(_attrPtr);
}