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