SuperValidationValue<T> constructor
SuperValidationValue<T> ({
- SuperValidationValueFunc<
T> ? validateFunc, - SuperValidationStore<
T> ? store,
Implementation
SuperValidationValue({
this.validateFunc,
this.store,
}) {
if (store != null) {
_streamSubscription = streamValue.listen((value) async {
await store?.setValueStored(value);
});
}
_initStored();
}