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