ListPropertiesSuggestionState.fromJson constructor

ListPropertiesSuggestionState.fromJson(
  1. Map json_
)

Implementation

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