toJson method

Map<String, dynamic> toJson()

Serializes this rule to VPS-compatible JSON.

Implementation

Map<String, dynamic> toJson() => {
  'label': label,
  'rate': rate,
  'filterField': filterField,
  'filterValue': filterValue,
};