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