ContentMatcher.fromMap constructor
ContentMatcher.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ContentMatcher.fromMap(Map<String, dynamic> map) {
return ContentMatcher(
content: (() { final guardedValue = map['content']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
jsonPathMatcher: (() { final guardedValue = map['jsonPathMatcher']; if (guardedValue == null) return null; return pulumi.Input.fromValue(JsonPathMatcher.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
matcher: (() { final guardedValue = map['matcher']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ContentMatcherMatcher.fromValue(guardedValue as String)); })(),
);
}