registerDeclaredAction method
void
registerDeclaredAction()
A framework default for action, asked only where the application
registered nothing for it.
Implementation
void registerDeclaredAction(
String action,
FutureOr<bool> Function(Object? caller, Object? resource) check,
) {
_declared[_actionKey(action)] = _DVPolicyEntry.untyped(check);
}