Action constructor

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

Constructor used for json serialization

Implementation

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