toString method

  1. @override
String toString()
override

Retourne une chaîne de caractères décrivant les statistiques.

Implementation

@override
String toString() {
  return 'Résultats {Choix 1: $choice1, Choix 2: $choice2, Choix 3: $choice3, rejected: $rejected}';
}