ActionMeta class

An action metadata.

Constructors

ActionMeta({@required String name, String label, String description, @required KnowledgeBaseMeta knowledgeBase, CategoryMeta category, Map<String, Object> features, List<DataType> args, DataType result, bool callable: true, ProcessorQualifiedVersion qualifiedVersion })
ActionMeta.fromJson(Map<String, dynamic> json)
factory

Properties

args → List<DataType>
The action argument types (optional).
final
argsAsRecordType RecordType
Could be null if the action has no argument metadata.
read-only
callable → bool
The callable flag.
final
category CategoryMeta
The action category metadata.
final
description → String
The action description (optional).
final
features → Map<String, Object>
The action features.
final
knowledgeBase KnowledgeBaseMeta
The action knowledge base metadata.
final
label → String
The action label (optional).
final
name → String
The action name.
final
qualifiedVersion ProcessorQualifiedVersion
The action qualified version.
read / write
result DataType
The action result type (optional).
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getArg(String path) DataType
Supports sub-arguments.
getArgIndex(String argName) → int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited