SuggestedDocumentStyle.fromJson constructor

SuggestedDocumentStyle.fromJson(
  1. Map json_
)

Implementation

SuggestedDocumentStyle.fromJson(core.Map json_)
  : this(
      documentStyle: json_.containsKey('documentStyle')
          ? DocumentStyle.fromJson(
              json_['documentStyle'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      documentStyleSuggestionState:
          json_.containsKey('documentStyleSuggestionState')
          ? DocumentStyleSuggestionState.fromJson(
              json_['documentStyleSuggestionState']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );