toJson method
Implementation
Map<String, dynamic> toJson() {
final numberOfNotifiedThings = this.numberOfNotifiedThings;
final numberOfSucceededThings = this.numberOfSucceededThings;
return {
if (numberOfNotifiedThings != null)
'numberOfNotifiedThings': numberOfNotifiedThings,
if (numberOfSucceededThings != null)
'numberOfSucceededThings': numberOfSucceededThings,
};
}