clear method
void
clear()
Clear RestState
Restart the state to uninitialized
Usefull for reusing the bloc without construct it again.
Implementation
void clear() => add(RestEvent.clear(''));
Clear RestState
Restart the state to uninitialized
Usefull for reusing the bloc without construct it again.
void clear() => add(RestEvent.clear(''));