VerifyOnfidoResponse.fromJson constructor
Returns a VerifyOnfidoResponse type from a JSON
Implementation
factory VerifyOnfidoResponse.fromJson(Map<String, dynamic> data) {
var self = VerifyOnfidoResponse._();
self._map["state"] = data['state'];
self._map["onfidoResponse"] = data['onfidoResponse'] == null
? null
: Map<String, dynamic>.from(data['onfidoResponse']);
self._map["errorResponse"] = data['errorResponse'] == null
? null
: Map<String, dynamic>.from(data['errorResponse']);
return self;
}