DetectorModel.fromJson constructor
DetectorModel.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DetectorModel.fromJson(Map<String, dynamic> json) {
return DetectorModel(
detectorModelConfiguration: json['detectorModelConfiguration'] != null
? DetectorModelConfiguration.fromJson(
json['detectorModelConfiguration'] as Map<String, dynamic>)
: null,
detectorModelDefinition: json['detectorModelDefinition'] != null
? DetectorModelDefinition.fromJson(
json['detectorModelDefinition'] as Map<String, dynamic>)
: null,
);
}