dispose method
void
dispose()
Disposes the value, error and future associated.
Implementation
void dispose() {
_future = Future<T>.value();
_error = null;
_value = null;
}
Disposes the value, error and future associated.
void dispose() {
_future = Future<T>.value();
_error = null;
_value = null;
}