BulletSuggestionState.fromJson constructor

BulletSuggestionState.fromJson(
  1. Map json_
)

Implementation

BulletSuggestionState.fromJson(core.Map json_)
  : this(
      listIdSuggested: json_['listIdSuggested'] as core.bool?,
      nestingLevelSuggested: json_['nestingLevelSuggested'] as core.bool?,
      textStyleSuggestionState:
          json_.containsKey('textStyleSuggestionState')
              ? TextStyleSuggestionState.fromJson(
                json_['textStyleSuggestionState']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );