toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final numericOperator = this.numericOperator;
  final startValue = this.startValue;
  final endValue = this.endValue;
  return {
    'NumericOperator': numericOperator.toValue(),
    'StartValue': startValue,
    if (endValue != null) 'EndValue': endValue,
  };
}