@classmethod
def from_dict(cls, page_contents_dict):
    'Creates a subtopic page contents object from a dictionary.\n\n        Args:\n            page_contents_dict: dict. The dict representation of\n                SubtopicPageContents object.\n\n        Returns:\n            SubtopicPageContents. The corresponding object.\n        '
    page_contents = state_domain.SubtitledHtml.from_dict(page_contents_dict['subtitled_html'])
    page_contents.validate()
    return cls(page_contents, state_domain.RecordedVoiceovers.from_dict(page_contents_dict['recorded_voiceovers']), state_domain.WrittenTranslations.from_dict(page_contents_dict['written_translations']))
Creates a subtopic page contents object from a dictionary.

Args:
    page_contents_dict: dict. The dict representation of
        SubtopicPageContents object.

Returns:
    SubtopicPageContents. The corresponding object.
@classmethod
def from_dict(cls, page_contents_dict):
    'Creates a subtopic page contents object from a dictionary.\n\n        Args:\n            page_contents_dict: dict. The dict representation of\n                SubtopicPageContents object.\n\n        Returns:\n            SubtopicPageContents. The corresponding object.\n        '
    page_contents = state_domain.SubtitledHtml.from_dict(page_contents_dict['subtitled_html'])
    page_contents.validate()
    return cls(page_contents, state_domain.RecordedVoiceovers.from_dict(page_contents_dict['recorded_voiceovers']), state_domain.WrittenTranslations.from_dict(page_contents_dict['written_translations']))