RPChoice constructor Null safety

RPChoice(
  1. {required String text,
  2. required int value,
  3. bool isFreeText = false,
  4. String? detailText}
)

Default constructor.

Implementation

RPChoice({
  required this.text,
  required this.value,
  this.isFreeText = false,
  this.detailText,
}) : super();