AutomotiveCameraBehavior.fromJson constructor
- String configJson
Creates a new instance of this class configured from a JSON string.
The JSON configuration is validated during construction and applied to the underlying TrackingCameraBehavior and AreaCameraBehavior instances.
configJsonA JSON string containing automotive camera configuration settings.
Throws InstantiationException. InstantiationException when the JSON is malformed or contains invalid values.
Implementation
factory AutomotiveCameraBehavior.fromJson(String configJson) => $prototype.fromJson(configJson);