SearchField class

SearchField is a text field that can be searched.

Annotations
  • @freezed

Constructors

SearchField({required String key, required String value, @Default(false) bool? store})
Default Constructor
const
factory
SearchField.fromJson(Map<String, dynamic> json)
Unmarshalls from json to SearchField
factory

Properties

copyWith → $SearchFieldCopyWith<SearchField>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key String
Key is the name of the search field. Cannot begin with an underscore.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store bool?
Store tells Firesearch to store this value and return it in the search results. By default, although the field is searchable, the original value is not stored.
no setterinherited
value String
Value is the searchable text field.
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