refreshPage static method

dynamic refreshPage(
  1. String state, {
  2. dynamic setState()?,
})

Refresh the page

Implementation

static refreshPage(String state, {Function()? setState}) {
  _updateState(state, "refresh-page", {"setState": setState});
}