UIContext constructor

UIContext({
  1. WebsiteId? websiteId,
  2. String? domain,
  3. String? path,
  4. bool? editMode,
  5. SearchObject? product,
})

Implementation

factory UIContext({
  $0.WebsiteId? websiteId,
  $core.String? domain,
  $core.String? path,
  $core.bool? editMode,
  $4.SearchObject? product,
}) {
  final result = create();
  if (websiteId != null) result.websiteId = websiteId;
  if (domain != null) result.domain = domain;
  if (path != null) result.path = path;
  if (editMode != null) result.editMode = editMode;
  if (product != null) result.product = product;
  return result;
}