IdenfyIdentificationResult.fromJson constructor
IdenfyIdentificationResult.fromJson(
- dynamic json
Implementation
factory IdenfyIdentificationResult.fromJson(dynamic json) {
var suspectedStatus = SuspectedIdentificationStatus(
json['suspectedIdentificationStatus']['autoSuspected'],
json['suspectedIdentificationStatus']['manualSuspected']);
return IdenfyIdentificationResult(
EnumTransform.valueOf(
AutoIdentificationStatus.values, json['autoIdentificationStatus']),
EnumTransform.valueOf(ManualIdentificationStatus.values,
json['manualIdentificationStatus']),
suspectedStatus);
}