EdfaPgCaptureResult constructor
EdfaPgCaptureResult(
- Map result
Implementation
EdfaPgCaptureResult(Map result){
if(result.containsKey("success")) {
success = EdfaPgCaptureSuccess.fromJson(result["success"]);
}
if(result.containsKey("decline")) {
decline = EdfaPgCaptureDecline.fromJson(result["decline"]);
}
if(result.containsKey("error")) {
error = EdfaPgError.fromJson(result["error"]);
}
if(result.containsKey("failure")) {
failure = result["failure"];
}
if(result.containsKey("responseJSON")) {
responseJSON = result["responseJSON"];
}
}