WordCloudData({ required this.data, }) { data = (data..sort((a, b) => a['value'].compareTo(b['value']))) .reversed .toList(); }