toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() {
  return {'category': category.toJson(), 'threshold': threshold.toJson()};
}