validateOnAttach property
If value should be validated on connector attach
Validation will be invoke only if connector already have last emitted value.
If default StreamValidationConnector constructor is used, validation will be invoked only after second attach.
So if you need to validate Stream value on first attach, use StreamValidationConnector.seeded constructor
Implementation
final bool validateOnAttach;