SubstitutionRule.fromJson constructor
SubstitutionRule.fromJson(
- Map json_
Implementation
SubstitutionRule.fromJson(core.Map json_)
: this(
newValue: json_['newValue'] as core.String?,
originalValuePattern: json_['originalValuePattern'] as core.String?,
targetGroupKinds: (json_['targetGroupKinds'] as core.List?)
?.map((value) => GroupKind.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
targetJsonPath: json_['targetJsonPath'] as core.String?,
targetNamespaces: (json_['targetNamespaces'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);