Action class

单个执行的方法

Constructors

Action({required String name, required List<String> argument, required int index, String actionType = 'dart', String? commandName})
Action.fromJson(Map data)
factory

Properties

actionType String
方法名称 默认为dart
final
argument List<String>
方法传递的参数
final
commandName String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
方法的唯一ID
final
name String
方法的名称
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

actionId(String name, int index, [String? commandName]) String