DigifiedResult constructor
DigifiedResult(
- Map dataMap
Implementation
DigifiedResult(Map<dynamic, dynamic> dataMap) {
message = dataMap.getValue<String>(Inbound.message);
nextProcess = dataMap.getValue<String>(Inbound.nextProcess);
overallStatus = dataMap.getValue<int>(Inbound.overallStatus);
result = dataMap.getValue<int>(Inbound.result);
shouldTerminate = dataMap.getValue<bool>(Inbound.shouldTerminate);
error = dataMap.getValue<String>(Inbound.error);
List<dynamic>? tempErrorCode =
dataMap.getValue<List<dynamic>>(Inbound.errorCode);
if (tempErrorCode != null) {
errorCode = tempErrorCode.map((item) => item as String).toList();
} else {
errorCode = null;
}
}