ContentExpandable.fromJson constructor

ContentExpandable.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ContentExpandable.fromJson(Map<String, Object?> json) {
  return ContentExpandable(
    childTypes: json[r'childTypes'] as String?,
    container: json[r'container'] as String?,
    metadata: json[r'metadata'] as String?,
    operations: json[r'operations'] as String?,
    children: json[r'children'] as String?,
    restrictions: json[r'restrictions'] as String?,
    history: json[r'history'] as String?,
    ancestors: json[r'ancestors'] as String?,
    body: json[r'body'] as String?,
    version: json[r'version'] as String?,
    descendants: json[r'descendants'] as String?,
    space: json[r'space'] as String?,
    extensions: json[r'extensions'] as String?,
    schedulePublishDate: json[r'schedulePublishDate'] as String?,
    schedulePublishInfo: json[r'schedulePublishInfo'] as String?,
    macroRenderedOutput: json[r'macroRenderedOutput'] as String?,
  );
}