Convert the prompt value to a map.
@override Map<String, dynamic> toMap() => { 'value': value, 'type': 'string', };