Map<String, dynamic> toJson() { return { ...?unknown, 'values': values.map((e) => e.toJson()).toList(growable: false), }; }