options static method
Polls.option is used to set polls options
Implementation
static List options({required String title, required double value}) {
if (title != null && value != null) {
return [title, value];
} else {
throw 'Poll Option(title or Value is equal to )';
}
}