FindDropdownBloc<T> constructor
FindDropdownBloc<T> ({
- T? seedValue,
- String? validate(
- T selected
Implementation
FindDropdownBloc({T? seedValue, String? Function(T selected)? validate}) {
if (seedValue != null) selected$.add(seedValue);
if (validate != null) validateMessageOut = selected$.distinct().map(validate).distinct();
}