MiniProgramInteractionNode constructor

MiniProgramInteractionNode({
  1. required String id,
  2. required String role,
  3. required String label,
  4. required List<MiniProgramInteractionAction> actions,
  5. String? parentId,
  6. String? value,
  7. String? hint,
  8. bool enabled = true,
  9. bool? selected,
  10. bool? checked,
  11. bool protected = false,
  12. int? maxLength,
})

Implementation

MiniProgramInteractionNode({
  required this.id,
  required this.role,
  required this.label,
  required List<MiniProgramInteractionAction> actions,
  this.parentId,
  this.value,
  this.hint,
  this.enabled = true,
  this.selected,
  this.checked,
  this.protected = false,
  this.maxLength,
}) : actions = List.unmodifiable(actions);