toJson method
Serializes this rule to VPS-compatible JSON.
Implementation
Map<String, dynamic> toJson() => {
'label': label,
'function': function.name,
'expression': expression,
'bold': bold,
'format': format.name,
'targetColumnField': targetColumnField,
};