toJson method
Implementation
Map<String, dynamic> toJson() {
final key = this.key;
final name = this.name;
final values = this.values;
return {
if (key != null) 'Key': key.toValue(),
if (name != null) 'Name': name,
if (values != null) 'Values': values,
};
}