Map<String, Object?> toJson() { var draft = this.draft; var name = this.name; final json = <String, Object?>{}; json[r'draft'] = draft; json[r'name'] = name; return json; }