toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.throttle != null) {
json[r'throttle'] = this.throttle;
} else {
json[r'throttle'] = null;
}
if (this.throttleSpeed != null) {
json[r'throttleSpeed'] = this.throttleSpeed;
} else {
json[r'throttleSpeed'] = null;
}
if (this.throttleUnit != null) {
json[r'throttleUnit'] = this.throttleUnit;
} else {
json[r'throttleUnit'] = null;
}
if (this.throttleThreshold != null) {
json[r'throttleThreshold'] = this.throttleThreshold;
} else {
json[r'throttleThreshold'] = null;
}
if (this.throttleThresholdUnit != null) {
json[r'throttleThresholdUnit'] = this.throttleThresholdUnit;
} else {
json[r'throttleThresholdUnit'] = null;
}
if (this.expireInDays != null) {
json[r'expireInDays'] = this.expireInDays;
} else {
json[r'expireInDays'] = null;
}
return json;
}