SearchableElement constructor
const
SearchableElement({
- required SearchableType type,
- required SearchableHitType hitType,
- required Searchable searchable,
- required String text,
Implementation
const factory SearchableElement({
/// Type of the searchable object
required SearchableType type,
/// Type of the item found by the search
required SearchableHitType hitType,
/// Parent searchable object
required Searchable searchable,
/// Matching text from the search
required String text,
}) = _SearchableElement;