EmbeddedContent.fromJson constructor
Implementation
factory EmbeddedContent.fromJson(Map<String, Object?> json) {
return EmbeddedContent(
entityId: (json[r'entityId'] as num?)?.toInt(),
entityType: json[r'entityType'] as String?,
entity: json[r'entity'] != null
? Embeddable.fromJson(json[r'entity']! as Map<String, Object?>)
: null,
);
}