StreamProcessorRegionsOfInterestBoundingBox.fromMap constructor
StreamProcessorRegionsOfInterestBoundingBox.fromMap(
- Map<String, dynamic> map
)
Implementation
factory StreamProcessorRegionsOfInterestBoundingBox.fromMap(Map<String, dynamic> map) {
return StreamProcessorRegionsOfInterestBoundingBox(
height: (() { final guardedValue = map['height']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toDouble()); })(),
left: (() { final guardedValue = map['left']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toDouble()); })(),
top: (() { final guardedValue = map['top']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toDouble()); })(),
width: (() { final guardedValue = map['width']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toDouble()); })(),
);
}