|
@@ -2419,8 +2419,12 @@ class VetAutoTraceImageResult {
|
|
|
});
|
|
|
|
|
|
factory VetAutoTraceImageResult.fromJson(Map<String, dynamic> map) {
|
|
|
+ final pWTraceInfosMap= <String,PWTraceDTO>{};
|
|
|
+ for (var key in map['PWTraceInfos'].keys) {
|
|
|
+ pWTraceInfosMap[key] = PWTraceDTO.fromJson(map['PWTraceInfos'][key]);
|
|
|
+ }
|
|
|
return VetAutoTraceImageResult(
|
|
|
- pWTraceInfos: map['PWTraceInfos']?.cast<String,PWTraceDTO>(),
|
|
|
+ pWTraceInfos : pWTraceInfosMap
|
|
|
);
|
|
|
}
|
|
|
|