AssetsChangeCallback<Path> typedef

AssetsChangeCallback<Path> = void Function(PermissionState permission, MethodCall call, Path? path)

The callback that will be called when the system notifies assets changes. 当系统通知资源变化时将调用的回调。

Implementation

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