IndexFieldSearchConfigTextSpecIndexSpec.fromMap constructor
IndexFieldSearchConfigTextSpecIndexSpec.fromMap(
- Map<String, dynamic> map
)
Implementation
factory IndexFieldSearchConfigTextSpecIndexSpec.fromMap(Map<String, dynamic> map) {
return IndexFieldSearchConfigTextSpecIndexSpec(
indexType: (() { final guardedValue = map['indexType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
matchType: (() { final guardedValue = map['matchType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}