EmbeddedObjectSuggestionState.fromJson constructor

EmbeddedObjectSuggestionState.fromJson(
  1. Map json_
)

Implementation

EmbeddedObjectSuggestionState.fromJson(core.Map json_)
  : this(
      descriptionSuggested: json_['descriptionSuggested'] as core.bool?,
      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_['marginBottomSuggested'] as core.bool?,
      marginLeftSuggested: json_['marginLeftSuggested'] as core.bool?,
      marginRightSuggested: json_['marginRightSuggested'] as core.bool?,
      marginTopSuggested: json_['marginTopSuggested'] as core.bool?,
      sizeSuggestionState:
          json_.containsKey('sizeSuggestionState')
              ? SizeSuggestionState.fromJson(
                json_['sizeSuggestionState']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      titleSuggested: json_['titleSuggested'] as core.bool?,
    );