CreateDetectorVersionResult.fromJson constructor

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

Implementation

factory CreateDetectorVersionResult.fromJson(Map<String, dynamic> json) {
  return CreateDetectorVersionResult(
    detectorId: json['detectorId'] as String?,
    detectorVersionId: json['detectorVersionId'] as String?,
    status: (json['status'] as String?)?.toDetectorVersionStatus(),
  );
}