setUpdated method
Configures the stream controller for field updates.
updated is the stream controller that will receive notifications
when this field's value or state changes.
Implementation
setUpdated(StreamController? updated) {
this.updated = updated;
}