SuggestedParagraphStyle.fromJson constructor

SuggestedParagraphStyle.fromJson(
  1. Map json_
)

Implementation

SuggestedParagraphStyle.fromJson(core.Map json_)
    : this(
        paragraphStyle: json_.containsKey('paragraphStyle')
            ? ParagraphStyle.fromJson(json_['paragraphStyle']
                as core.Map<core.String, core.dynamic>)
            : null,
        paragraphStyleSuggestionState:
            json_.containsKey('paragraphStyleSuggestionState')
                ? ParagraphStyleSuggestionState.fromJson(
                    json_['paragraphStyleSuggestionState']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );