PluginAction constructor

const PluginAction(
  1. String id,
  2. String label, {
  3. String? description,
  4. bool danger = false,
  5. bool confirm = false,
  6. List<ActionParameter> parameters = const [],
  7. Type? returns,
})

Implementation

const PluginAction(
  this.id,
  this.label, {
  this.description,
  this.danger = false,
  this.confirm = false,
  this.parameters = const [],
  this.returns,
});