toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final category = this.category;
final method = this.method;
final threshold = this.threshold;
return {'category': ?category, 'method': ?method, 'threshold': ?threshold};
}