NmOperatorCommand constructor

const NmOperatorCommand({
  1. required String id,
  2. required NmCommandPurpose purpose,
  3. required String name,
  4. String? description,
  5. bool enabled = true,
  6. List<NmCommandParameter> parameters = const [],
  7. List<NmCommandOperation> operations = const [],
})

Creates a NmOperatorCommand.

Implementation

const NmOperatorCommand({
  required this.id,
  required this.purpose,
  required this.name,
  this.description,
  this.enabled = true,
  this.parameters = const [],
  this.operations = const [],
});