toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (lifecycle != null) {
json[r'lifecycle'] = lifecycle;
}
if (content != null) {
json[r'content'] = content;
}
if (cdLocal != null) {
json[r'cdLocal'] = cdLocal;
}
json[r'label'] = label;
json[r'tags'] = tags.toList();
return json;
}