InstanceTemplatesScopedList.fromJson constructor

InstanceTemplatesScopedList.fromJson(
  1. Map json_
)

Implementation

InstanceTemplatesScopedList.fromJson(core.Map json_)
    : this(
        instanceTemplates: json_.containsKey('instanceTemplates')
            ? (json_['instanceTemplates'] as core.List)
                .map((value) => InstanceTemplate.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? InstanceTemplatesScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );