toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.set_ != null) {
json[r'set'] = this.set_;
} else {
json[r'set'] = null;
}
if (this.stale != null) {
json[r'stale'] = this.stale;
} else {
json[r'stale'] = null;
}
json[r'took'] = this.took;
if (this.version != null) {
json[r'version'] = this.version;
} else {
json[r'version'] = null;
}
return json;
}