FFSearchReference constructor

FFSearchReference({
  1. FFParameter? appState,
  2. FFParameter? appConstant,
  3. FFApiEndpoint? apiEndpoint,
  4. FFCustomFunction? customFunction,
  5. FFCustomWidget? customWidget,
  6. FFCustomAction? customAction,
  7. String? widgetClass,
  8. FFParameter? widgetClassState,
  9. FFParameter? widgetClassParameter,
  10. bool? isPage,
  11. String? name,
  12. String? widgetClassName,
})

Implementation

factory FFSearchReference({
  FFParameter? appState,
  FFParameter? appConstant,
  FFApiEndpoint? apiEndpoint,
  FFCustomFunction? customFunction,
  FFCustomWidget? customWidget,
  FFCustomAction? customAction,
  $core.String? widgetClass,
  FFParameter? widgetClassState,
  FFParameter? widgetClassParameter,
  $core.bool? isPage,
  $core.String? name,
  $core.String? widgetClassName,
}) {
  final result = create();
  if (appState != null) result.appState = appState;
  if (appConstant != null) result.appConstant = appConstant;
  if (apiEndpoint != null) result.apiEndpoint = apiEndpoint;
  if (customFunction != null) result.customFunction = customFunction;
  if (customWidget != null) result.customWidget = customWidget;
  if (customAction != null) result.customAction = customAction;
  if (widgetClass != null) result.widgetClass = widgetClass;
  if (widgetClassState != null) result.widgetClassState = widgetClassState;
  if (widgetClassParameter != null)
    result.widgetClassParameter = widgetClassParameter;
  if (isPage != null) result.isPage = isPage;
  if (name != null) result.name = name;
  if (widgetClassName != null) result.widgetClassName = widgetClassName;
  return result;
}