ParagraphElement.fromJson constructor

ParagraphElement.fromJson(
  1. Map json_
)

Implementation

ParagraphElement.fromJson(core.Map json_)
    : this(
        autoText: json_.containsKey('autoText')
            ? AutoText.fromJson(
                json_['autoText'] as core.Map<core.String, core.dynamic>)
            : null,
        columnBreak: json_.containsKey('columnBreak')
            ? ColumnBreak.fromJson(
                json_['columnBreak'] as core.Map<core.String, core.dynamic>)
            : null,
        endIndex: json_.containsKey('endIndex')
            ? json_['endIndex'] as core.int
            : null,
        equation: json_.containsKey('equation')
            ? Equation.fromJson(
                json_['equation'] as core.Map<core.String, core.dynamic>)
            : null,
        footnoteReference: json_.containsKey('footnoteReference')
            ? FootnoteReference.fromJson(json_['footnoteReference']
                as core.Map<core.String, core.dynamic>)
            : null,
        horizontalRule: json_.containsKey('horizontalRule')
            ? HorizontalRule.fromJson(json_['horizontalRule']
                as core.Map<core.String, core.dynamic>)
            : null,
        inlineObjectElement: json_.containsKey('inlineObjectElement')
            ? InlineObjectElement.fromJson(json_['inlineObjectElement']
                as core.Map<core.String, core.dynamic>)
            : null,
        pageBreak: json_.containsKey('pageBreak')
            ? PageBreak.fromJson(
                json_['pageBreak'] as core.Map<core.String, core.dynamic>)
            : null,
        person: json_.containsKey('person')
            ? Person.fromJson(
                json_['person'] as core.Map<core.String, core.dynamic>)
            : null,
        richLink: json_.containsKey('richLink')
            ? RichLink.fromJson(
                json_['richLink'] as core.Map<core.String, core.dynamic>)
            : null,
        startIndex: json_.containsKey('startIndex')
            ? json_['startIndex'] as core.int
            : null,
        textRun: json_.containsKey('textRun')
            ? TextRun.fromJson(
                json_['textRun'] as core.Map<core.String, core.dynamic>)
            : null,
      );