EmbeddedObjectSuggestionState.fromJson constructor

EmbeddedObjectSuggestionState.fromJson(
  1. Map json_
)

Implementation

EmbeddedObjectSuggestionState.fromJson(core.Map json_)
    : this(
        descriptionSuggested: json_.containsKey('descriptionSuggested')
            ? json_['descriptionSuggested'] as core.bool
            : null,
        embeddedDrawingPropertiesSuggestionState:
            json_.containsKey('embeddedDrawingPropertiesSuggestionState')
                ? EmbeddedDrawingPropertiesSuggestionState.fromJson(
                    json_['embeddedDrawingPropertiesSuggestionState']
                        as core.Map<core.String, core.dynamic>)
                : null,
        embeddedObjectBorderSuggestionState:
            json_.containsKey('embeddedObjectBorderSuggestionState')
                ? EmbeddedObjectBorderSuggestionState.fromJson(
                    json_['embeddedObjectBorderSuggestionState']
                        as core.Map<core.String, core.dynamic>)
                : null,
        imagePropertiesSuggestionState:
            json_.containsKey('imagePropertiesSuggestionState')
                ? ImagePropertiesSuggestionState.fromJson(
                    json_['imagePropertiesSuggestionState']
                        as core.Map<core.String, core.dynamic>)
                : null,
        linkedContentReferenceSuggestionState:
            json_.containsKey('linkedContentReferenceSuggestionState')
                ? LinkedContentReferenceSuggestionState.fromJson(
                    json_['linkedContentReferenceSuggestionState']
                        as core.Map<core.String, core.dynamic>)
                : null,
        marginBottomSuggested: json_.containsKey('marginBottomSuggested')
            ? json_['marginBottomSuggested'] as core.bool
            : null,
        marginLeftSuggested: json_.containsKey('marginLeftSuggested')
            ? json_['marginLeftSuggested'] as core.bool
            : null,
        marginRightSuggested: json_.containsKey('marginRightSuggested')
            ? json_['marginRightSuggested'] as core.bool
            : null,
        marginTopSuggested: json_.containsKey('marginTopSuggested')
            ? json_['marginTopSuggested'] as core.bool
            : null,
        sizeSuggestionState: json_.containsKey('sizeSuggestionState')
            ? SizeSuggestionState.fromJson(json_['sizeSuggestionState']
                as core.Map<core.String, core.dynamic>)
            : null,
        titleSuggested: json_.containsKey('titleSuggested')
            ? json_['titleSuggested'] as core.bool
            : null,
      );