NodeTemplatesScopedList.fromJson constructor

NodeTemplatesScopedList.fromJson(
  1. Map json_
)

Implementation

NodeTemplatesScopedList.fromJson(core.Map json_)
    : this(
        nodeTemplates: json_.containsKey('nodeTemplates')
            ? (json_['nodeTemplates'] as core.List)
                .map((value) => NodeTemplate.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? NodeTemplatesScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );