SkaffoldModules.fromJson constructor
SkaffoldModules.fromJson(
- Map json_
Implementation
SkaffoldModules.fromJson(core.Map json_)
: this(
configs: json_.containsKey('configs')
? (json_['configs'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
git: json_.containsKey('git')
? SkaffoldGitSource.fromJson(
json_['git'] as core.Map<core.String, core.dynamic>)
: null,
googleCloudBuildRepo: json_.containsKey('googleCloudBuildRepo')
? SkaffoldGCBRepoSource.fromJson(json_['googleCloudBuildRepo']
as core.Map<core.String, core.dynamic>)
: null,
googleCloudStorage: json_.containsKey('googleCloudStorage')
? SkaffoldGCSSource.fromJson(json_['googleCloudStorage']
as core.Map<core.String, core.dynamic>)
: null,
);