guanxinyi 4 сар өмнө
parent
commit
c56994e88f

+ 1 - 1
lib/services/aIDiagnosis.m.dart

@@ -2420,7 +2420,7 @@ class VetAutoTraceImageResult {
 
 	factory VetAutoTraceImageResult.fromJson(Map<String, dynamic> map) {
 		return VetAutoTraceImageResult( 
-			pWTraceInfos: map['PWTraceInfos']?.cast<String,PWTraceDTO>(),
+			pWTraceInfos: map['PWTraceInfos'] != null ? map['PWTraceInfos'] as Map<String,PWTraceDTO> : null,
 		);
 	}