CameraSettings.fromJson constructor
Creates a new instance from a JSON map.
Implementation
factory CameraSettings.fromJson(Map<String, dynamic> json) {
return CameraSettings(
license: json['license'],
userId: json['userId'],
configuration: json['configuration'] == null
? null
: CameraConfiguration.fromJson(
Map<String, dynamic>.from(json['configuration'])),
);
}