ParagraphStyleSuggestionState.fromJson constructor

ParagraphStyleSuggestionState.fromJson(
  1. Map json_
)

Implementation

ParagraphStyleSuggestionState.fromJson(core.Map json_)
    : this(
        alignmentSuggested: json_['alignmentSuggested'] as core.bool?,
        avoidWidowAndOrphanSuggested:
            json_['avoidWidowAndOrphanSuggested'] as core.bool?,
        borderBetweenSuggested: json_['borderBetweenSuggested'] as core.bool?,
        borderBottomSuggested: json_['borderBottomSuggested'] as core.bool?,
        borderLeftSuggested: json_['borderLeftSuggested'] as core.bool?,
        borderRightSuggested: json_['borderRightSuggested'] as core.bool?,
        borderTopSuggested: json_['borderTopSuggested'] as core.bool?,
        directionSuggested: json_['directionSuggested'] as core.bool?,
        headingIdSuggested: json_['headingIdSuggested'] as core.bool?,
        indentEndSuggested: json_['indentEndSuggested'] as core.bool?,
        indentFirstLineSuggested:
            json_['indentFirstLineSuggested'] as core.bool?,
        indentStartSuggested: json_['indentStartSuggested'] as core.bool?,
        keepLinesTogetherSuggested:
            json_['keepLinesTogetherSuggested'] as core.bool?,
        keepWithNextSuggested: json_['keepWithNextSuggested'] as core.bool?,
        lineSpacingSuggested: json_['lineSpacingSuggested'] as core.bool?,
        namedStyleTypeSuggested:
            json_['namedStyleTypeSuggested'] as core.bool?,
        pageBreakBeforeSuggested:
            json_['pageBreakBeforeSuggested'] as core.bool?,
        shadingSuggestionState: json_.containsKey('shadingSuggestionState')
            ? ShadingSuggestionState.fromJson(json_['shadingSuggestionState']
                as core.Map<core.String, core.dynamic>)
            : null,
        spaceAboveSuggested: json_['spaceAboveSuggested'] as core.bool?,
        spaceBelowSuggested: json_['spaceBelowSuggested'] as core.bool?,
        spacingModeSuggested: json_['spacingModeSuggested'] as core.bool?,
      );