registerSilentAction method

  1. @nonVirtual
void registerSilentAction(
  1. String name,
  2. ExecutorFunction<SilentActionResult> executor, {
  3. bool abstract = false,
  4. String? baseType = EditorAction.action,
  5. Map<String, EditorPropertyType>? properties,
  6. Map<String, EditorActionType>? actions,
})

Implementation

@nonVirtual
void registerSilentAction(
  String name,
  ExecutorFunction<SilentActionResult> executor, {
  bool abstract = false,
  String? baseType = EditorAction.action,
  Map<String, EditorPropertyType>? properties,
  Map<String, EditorActionType>? actions,
}) {
  _registerAction(
    name,
    executor,
    EditorAction(
      abstract: abstract,
      baseType: baseType,
      properties: properties,
      actions: actions,
    ),
  );
}