PolicyControllerPolicyContentSpec.fromJson constructor
PolicyControllerPolicyContentSpec.fromJson(
- Map json_
Implementation
PolicyControllerPolicyContentSpec.fromJson(core.Map json_)
: this(
bundles: json_.containsKey('bundles')
? (json_['bundles'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
PolicyControllerBundleInstallSpec.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
templateLibrary: json_.containsKey('templateLibrary')
? PolicyControllerTemplateLibraryConfig.fromJson(
json_['templateLibrary']
as core.Map<core.String, core.dynamic>)
: null,
);