AppProfileSingleClusterRouting.fromMap constructor

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

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),
  );
}