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