votePercent method

String votePercent(
  1. String option
)

Implementation

String votePercent(String option) =>
    (votes![option]! * 100).toStringAsFixed(1);