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;
}