AutomotiveCameraBehavior.fromJson constructor

AutomotiveCameraBehavior.fromJson(
  1. String configJson
)

Creates a new instance configured from a JSON string.

  • configJson JSON string containing the automotive camera configuration.

Throws InstantiationException. InstantiationException when the JSON is malformed or contains invalid values.

Implementation

factory AutomotiveCameraBehavior.fromJson(String configJson) => $prototype.fromJson(configJson);