SearchResult class

Constructors

SearchResult({Content? content, User? user, Space? space, required String title, required String excerpt, required String url, ContainerSummary? resultParentContainer, ContainerSummary? resultGlobalContainer, required List<Breadcrumb> breadcrumbs, required String entityType, required String iconCssClass, required DateTime lastModified, String? friendlyLastModified, num? score})
SearchResult.fromJson(Map<String, Object?> json)
factory

Properties

final
content Content?
final
entityType String
final
excerpt String
final
friendlyLastModified String?
final
hashCode int
The hash code for this object.
no setterinherited
iconCssClass String
final
lastModified DateTime
final
resultGlobalContainer ContainerSummary?
final
resultParentContainer ContainerSummary?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score num?
final
space Space?
final
title String
final
url String
final
user User?
final

Methods

copyWith({Content? content, User? user, Space? space, String? title, String? excerpt, String? url, ContainerSummary? resultParentContainer, ContainerSummary? resultGlobalContainer, List<Breadcrumb>? breadcrumbs, String? entityType, String? iconCssClass, DateTime? lastModified, String? friendlyLastModified, num? score}) SearchResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited