Suggestion<T> class
Constructors
- Suggestion({required T? item})
-
const
- Suggestion.empty()
-
const
- Suggestion.highlighted({required T? item, required String? highlightText})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightText → String?
-
final
- isEmpty → bool
-
no setter
- isNotEmpty → bool
-
no setter
- item → T?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copy(
{T? suggestion, String? highlightText}) → Suggestion< T> -
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.
inherited