toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.channel != null) {
json[r'channel'] = this.channel;
} else {
json[r'channel'] = null;
}
if (this.cadence != null) {
json[r'cadence'] = this.cadence;
} else {
json[r'cadence'] = null;
}
if (this.eventType != null) {
json[r'eventType'] = this.eventType;
} else {
json[r'eventType'] = null;
}
return json;
}