CustomTargetSkaffoldActions.fromJson constructor

CustomTargetSkaffoldActions.fromJson(
  1. Map json_
)

Implementation

CustomTargetSkaffoldActions.fromJson(core.Map json_)
    : this(
        deployAction: json_.containsKey('deployAction')
            ? json_['deployAction'] as core.String
            : null,
        includeSkaffoldModules: json_.containsKey('includeSkaffoldModules')
            ? (json_['includeSkaffoldModules'] as core.List)
                .map((value) => SkaffoldModules.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        renderAction: json_.containsKey('renderAction')
            ? json_['renderAction'] as core.String
            : null,
      );