toJson method
Implementation
Map<String, dynamic> toJson() {
final key = this.key;
final usePreviousValue = this.usePreviousValue;
final value = this.value;
return {
if (key != null) 'Key': key,
if (usePreviousValue != null) 'UsePreviousValue': usePreviousValue,
if (value != null) 'Value': value,
};
}