LabeledContent.fromJson constructor
Implementation
factory LabeledContent.fromJson(Map<String, Object?> json) {
return LabeledContent(
contentType: json[r'contentType'] as String? ?? '',
contentId: (json[r'contentId'] as num?)?.toInt() ?? 0,
title: json[r'title'] as String? ?? '',
);
}