UpdateFragmentRequest constructor

UpdateFragmentRequest({
  1. String? id,
  2. String? name,
  3. Struct? config,
  4. bool? public,
  5. FragmentVisibility? visibility,
})

Implementation

factory UpdateFragmentRequest({
  $core.String? id,
  $core.String? name,
  $43.Struct? config,
  $core.bool? public,
  FragmentVisibility? visibility,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (name != null) {
    $result.name = name;
  }
  if (config != null) {
    $result.config = config;
  }
  if (public != null) {
    $result.public = public;
  }
  if (visibility != null) {
    $result.visibility = visibility;
  }
  return $result;
}