emit method
Implementation
@override
Future<AuthResponse<T>> emit(AuthResponse<T> data) async {
if (data.isLoading) {
_notifyLoading(true);
} else {
_notifyLoading(false);
_notifyError(data);
_notifyMessage(data);
_notifyState(data);
_notifyUser(data.data);
}
return data;
}