Features.fromJson constructor
Returns a Features type from a JSON
Implementation
factory Features.fromJson(Map<String, dynamic> data) {
var self = Features._();
self._map["document"] = data['document'] == null
? throw ArgumentError('document should not be null')
: Map<String, dynamic>.from(data['document']);
self._map["faceImage"] = data['faceImage'] == null
? throw ArgumentError('faceImage should not be null')
: Map<String, dynamic>.from(data['faceImage']);
self._map["mrz"] = data['mrz'] == null
? throw ArgumentError('mrz should not be null')
: Map<String, dynamic>.from(data['mrz']);
self._map["qrCode"] = data['qrCode'] == null
? throw ArgumentError('qrCode should not be null')
: Map<String, dynamic>.from(data['qrCode']);
return self;
}