refreshView method

Future<NiceViewLoadResult> refreshView(
  1. String module,
  2. String viewId
)

Force-refresh a view from server (ignoring cache).

Implementation

Future<NiceViewLoadResult> refreshView(String module, String viewId) async {
  final fullId = '$module/$viewId';
  await cache.remove(fullId);

  return loadView(module, viewId);
}