toJson method
Converts the change to JSON format, as required by the dev crud API.
Implementation
Map<String, dynamic> toJson() {
return {
'op_id': clientId,
'op': op.toJson(),
'type': table,
'id': id,
'tx_id': transactionId,
'data': opData
};
}