toJson method

  1. @override
Object toJson()
override

Implementation

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