NamedStylesSuggestionState.fromJson constructor

NamedStylesSuggestionState.fromJson(
  1. Map json_
)

Implementation

NamedStylesSuggestionState.fromJson(core.Map json_)
    : this(
        stylesSuggestionStates: json_.containsKey('stylesSuggestionStates')
            ? (json_['stylesSuggestionStates'] as core.List)
                .map((value) => NamedStyleSuggestionState.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );