GoogleCloudDialogflowV2SuggestionFeature.fromMap constructor

GoogleCloudDialogflowV2SuggestionFeature.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudDialogflowV2SuggestionFeature.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowV2SuggestionFeature(
    type: (() { final guardedValue = map['type']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleCloudDialogflowV2SuggestionFeatureType.fromValue(guardedValue as String)); })(),
  );
}