TextChoice constructor

const TextChoice({
  1. required String text,
  2. required String value,
})

Implementation

const TextChoice({
  required this.text,
  required this.value,
}) : super();