Options constructor

Options({
  1. bool? isLinkingAllowed,
  2. bool? isCreationAllowed,
  3. bool? isAutoCreation,
  4. bool? isAutoUpdate,
})

Implementation

factory Options({
  $core.bool? isLinkingAllowed,
  $core.bool? isCreationAllowed,
  $core.bool? isAutoCreation,
  $core.bool? isAutoUpdate,
}) {
  final _result = create();
  if (isLinkingAllowed != null) {
    _result.isLinkingAllowed = isLinkingAllowed;
  }
  if (isCreationAllowed != null) {
    _result.isCreationAllowed = isCreationAllowed;
  }
  if (isAutoCreation != null) {
    _result.isAutoCreation = isAutoCreation;
  }
  if (isAutoUpdate != null) {
    _result.isAutoUpdate = isAutoUpdate;
  }
  return _result;
}