Access constructor

Access({
  1. bool? onlyOwner,
  2. bool? allowViewer,
  3. bool? allowEditor,
})

Implementation

factory Access({
  $core.bool? onlyOwner,
  $core.bool? allowViewer,
  $core.bool? allowEditor,
}) {
  final _result = create();
  if (onlyOwner != null) {
    _result.onlyOwner = onlyOwner;
  }
  if (allowViewer != null) {
    _result.allowViewer = allowViewer;
  }
  if (allowEditor != null) {
    _result.allowEditor = allowEditor;
  }
  return _result;
}