FFSimpleSearchAction constructor

FFSimpleSearchAction({
  1. FFSimpleSearchAction_Collection? collection,
  2. FFSimpleSearchAction_Documents? documents,
  3. FFSimpleSearchAction_Strings? strings,
  4. FFValue? searchTerm,
  5. int? maxResults,
})

Implementation

factory FFSimpleSearchAction({
  FFSimpleSearchAction_Collection? collection,
  FFSimpleSearchAction_Documents? documents,
  FFSimpleSearchAction_Strings? strings,
  FFValue? searchTerm,
  $core.int? maxResults,
}) {
  final result = create();
  if (collection != null) result.collection = collection;
  if (documents != null) result.documents = documents;
  if (strings != null) result.strings = strings;
  if (searchTerm != null) result.searchTerm = searchTerm;
  if (maxResults != null) result.maxResults = maxResults;
  return result;
}