whenType<T> method
void
whenType<T>()
Implementation
void whenType<T>() {
_query = _query.withUpdateCondition((state) {
return state is T;
});
}
void whenType<T>() {
_query = _query.withUpdateCondition((state) {
return state is T;
});
}