TextResponse.fromMap constructor
Implementation
factory TextResponse.fromMap(Map<String, dynamic> map) {
return TextResponse(
content: pulumi.Input.fromValue(map['content'] as String),
format: pulumi.Input.fromValue(map['format'] as String),
style: pulumi.Input.fromValue(TextStyleResponse.fromMap((map['style']! as Map).cast<String, dynamic>())),
);
}