toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.bucket != null) {
json[r'bucket'] = this.bucket;
} else {
json[r'bucket'] = null;
}
if (this.history != null) {
json[r'history'] = this.history;
} else {
json[r'history'] = null;
}
if (this.maxValue != null) {
json[r'maxValue'] = this.maxValue;
} else {
json[r'maxValue'] = null;
}
if (this.ttl != null) {
json[r'ttl'] = this.ttl;
} else {
json[r'ttl'] = null;
}
return json;
}