Access constructor
Access({})
Implementation
factory Access({
$core.bool? allowViewer,
$core.bool? allowEditor,
$core.bool? allowEmptyNamespace,
$core.bool? allowDashboard,
$core.String? method,
$core.bool? disableAuth,
$core.bool? allowPublicApiAccess,
$core.bool? allowAdminApiAccess,
}) {
final _result = create();
if (allowViewer != null) {
_result.allowViewer = allowViewer;
}
if (allowEditor != null) {
_result.allowEditor = allowEditor;
}
if (allowEmptyNamespace != null) {
_result.allowEmptyNamespace = allowEmptyNamespace;
}
if (allowDashboard != null) {
_result.allowDashboard = allowDashboard;
}
if (method != null) {
_result.method = method;
}
if (disableAuth != null) {
_result.disableAuth = disableAuth;
}
if (allowPublicApiAccess != null) {
_result.allowPublicApiAccess = allowPublicApiAccess;
}
if (allowAdminApiAccess != null) {
_result.allowAdminApiAccess = allowAdminApiAccess;
}
return _result;
}