AppProfileSingleClusterRouting.fromMap constructor
Implementation
factory AppProfileSingleClusterRouting.fromMap(Map<String, dynamic> map) {
return AppProfileSingleClusterRouting(
allowTransactionalWrites: (() { final guardedValue = map['allowTransactionalWrites']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
clusterId: pulumi.Input.fromValue(map['clusterId'] as String),
);
}