Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'files'] = this.files; if (this.rev != null) { json[r'rev'] = this.rev; } else { json[r'rev'] = null; } return json; }