App constructor

App({
  1. String? name,
  2. String? type,
  3. String? entrypoint,
  4. Iterable<String>? fragmentIds,
  5. String? logoPath,
  6. AppCustomizations? customizations,
})

Implementation

factory App({
  $core.String? name,
  $core.String? type,
  $core.String? entrypoint,
  $core.Iterable<$core.String>? fragmentIds,
  $core.String? logoPath,
  AppCustomizations? customizations,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (type != null) {
    $result.type = type;
  }
  if (entrypoint != null) {
    $result.entrypoint = entrypoint;
  }
  if (fragmentIds != null) {
    $result.fragmentIds.addAll(fragmentIds);
  }
  if (logoPath != null) {
    $result.logoPath = logoPath;
  }
  if (customizations != null) {
    $result.customizations = customizations;
  }
  return $result;
}