Choice.withText constructor

Choice.withText({
  1. String? id,
  2. required String text,
})

Implementation

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