BulletSuggestionState.fromJson constructor

BulletSuggestionState.fromJson(
  1. Map json_
)

Implementation

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