CreateDetectorModelResponse.fromJson constructor

CreateDetectorModelResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateDetectorModelResponse.fromJson(Map<String, dynamic> json) {
  return CreateDetectorModelResponse(
    detectorModelConfiguration: json['detectorModelConfiguration'] != null
        ? DetectorModelConfiguration.fromJson(
            json['detectorModelConfiguration'] as Map<String, dynamic>)
        : null,
  );
}