toJson method
Implementation
Map<String, Object?> toJson() => {
'op': op,
'table': table,
'columns': columns,
'pk': pkColumns,
if (oldValues != null) 'old': _encodeValues(oldValues!),
if (newValues != null) 'new': _encodeValues(newValues!),
};