toJson method
Implementation
@override
Object toJson() => {
if (element.isNotDefault) 'element': element,
if (oldValue.isNotDefault) 'oldValue': oldValue,
if (newValue.isNotDefault) 'newValue': newValue,
if (changeType.isNotDefault) 'changeType': changeType.toJson(),
if (advices.isNotDefault) 'advices': encodeList(advices),
};