refresh method

Future<void> refresh()

refresh current page corresponds to the current path

Implementation

Future<void> refresh() async {
  if (_resultJson == null)
    throwSharkError(
        message:
            'Should wait for previous result before any refresh operation');

  return await get();
}