toJson method

Map<String, dynamic> toJson()

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;
}