AssetsChangeRefreshPredicate<Path> typedef

AssetsChangeRefreshPredicate<Path> = bool Function(PermissionState permission, MethodCall call, Path? path)

Whether assets changing should call refresh with the given call and the current selected path. 判断资源变化是否根据 call 和当前选中的 path 进行更新。

Implementation

typedef AssetsChangeRefreshPredicate<Path> = bool Function(
  PermissionState permission,
  MethodCall call,
  Path? path,
);