setup method
Implementation
void setup({required Function onRefresh, dynamic context}) {
_onRefresh = onRefresh;
_context = context;
}
void setup({required Function onRefresh, dynamic context}) {
_onRefresh = onRefresh;
_context = context;
}