TextChoice constructor

TextChoice({
  1. String? id,
  2. required String text,
  3. String? value,
})

Implementation

TextChoice({
  String? id,
  required this.text,
  this.value,
}) : id = id ?? const Uuid().v4();