toTextFieldBuffer
Creates a temporary, mutable TextFieldBuffer representing the current state of this OudsPasswordInputState.
Use a TextFieldBuffer to apply transformations for testing purposes.
This is similar to calling OudsPasswordInputState.edit, but without committing the changes back to the OudsPasswordInputState.
Important: A TextFieldBuffer is intended for short-term use. Let the garbage collector dispose of it when you're finished to avoid unnecessary memory usage.