connectivityReducer function
Implementation
bool connectivityReducer(GiphyState state, dynamic event){
if(event is ChangeConnectivityStatus){
return event.connectivity;
}
return state.connectivity;
}
bool connectivityReducer(GiphyState state, dynamic event){
if(event is ChangeConnectivityStatus){
return event.connectivity;
}
return state.connectivity;
}