SearchableItem class

Represents a searchable item with customizable fields

Constructors

SearchableItem({required String id, required String name, String? icon, String? subtitle, String? searchData, dynamic data})
Creates a new SearchableItem instance.
const

Properties

data → dynamic
Optional custom data object
final
hashCode int
The hash code for this object.
no setteroverride
icon String?
Optional icon/emoji for the item
final
id String
Unique identifier for the item
final
name String
Display name of the item
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchData String?
Optional additional data that can be used for search
final
subtitle String?
Optional subtitle/description
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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