menu
alfred_workflow package
documentation
alfred_workflow.dart
AlfredItems class
AlfredItems class
dark_mode
light_mode
AlfredItems
class
final
Constructors
AlfredItems
(
List
<
AlfredItem
>
items
, {
bool
?
exactOrder
,
bool
?
skipKnowledge
})
const
AlfredItems.fromJson
(
Map
<
String
,
dynamic
>
json
)
factory
Properties
exactOrder
→
bool
?
Alfred learns to prioritise item results like he learns any other, meaning the order in which your workflow results are presented will be based on Alfred's knowledge (using the item UID) and not the order your script returns the items.
final
hashCode
→
int
The hash code for this object.
no setter
inherited
items
→
List
<
AlfredItem
>
A list of zero or more
AlfredItem
s.
final
props
→
List
<
Object
?
>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
skipKnowledge
→
bool
?
This preserves the given item order while allowing Alfred to retain knowledge of your items, like your current selection during a re-run.
final
stringify
→
bool
?
If set to
true
, the
toString
method will be overridden to output this instance's
props
.
no setter
inherited
Methods
copyWith
(
{
List
<
AlfredItem
>
?
items
,
bool
?
exactOrder
,
bool
?
skipKnowledge
})
→
AlfredItems
Copy this
AlfredItems
with the given
items
,
exactOrder
, or
skipKnowledge
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson
(
)
→
Map
<
String
,
dynamic
>
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
alfred_workflow package
documentation
alfred_workflow
AlfredItems class
alfred_workflow library