SearchResult constructor

SearchResult({
  1. Content? content,
  2. User? user,
  3. Space? space,
  4. required String title,
  5. required String excerpt,
  6. required String url,
  7. ContainerSummary? resultParentContainer,
  8. ContainerSummary? resultGlobalContainer,
  9. required List<Breadcrumb> breadcrumbs,
  10. required String entityType,
  11. required String iconCssClass,
  12. required DateTime lastModified,
  13. String? friendlyLastModified,
  14. num? score,
})

Implementation

SearchResult(
    {this.content,
    this.user,
    this.space,
    required this.title,
    required this.excerpt,
    required this.url,
    this.resultParentContainer,
    this.resultGlobalContainer,
    required this.breadcrumbs,
    required this.entityType,
    required this.iconCssClass,
    required this.lastModified,
    this.friendlyLastModified,
    this.score});