Action constructor

Action({
  1. required String name,
  2. String? style,
  3. required String text,
  4. required String type,
  5. String? value,
})

Returns a new Action instance.

Implementation

Action({
  required this.name,
  this.style,
  required this.text,
  required this.type,
  this.value,
});