Browse Source

1、json rpc

guanxinyi 4 months ago
parent
commit
c56994e88f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/services/aIDiagnosis.m.dart

+ 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,
 		);
 	}