AutocompleteDoc class
AutocompleteDoc describes a document that can be searched.
- Annotations
-
- @freezed
Constructors
-
AutocompleteDoc({required String id, required String text, List<
Field> ? fields}) -
Constructor
constfactory
-
AutocompleteDoc.fromJson(Map<
String, dynamic> json) -
Unmarshalls json to an AutocompleteDoc
factory
Properties
-
copyWith
→ $AutocompleteDocCopyWith<
AutocompleteDoc> -
no setterinherited
-
fields
→ List<
Field> ? -
Fields are the filterable fields for this document.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
ID is the document identifier.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
Text is a string that can be completed via a call to Complete.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited