@regulaforensics/document-reader
Version:
This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.
21 lines (17 loc) • 407 B
JavaScript
export class Extension {
data
type
static fromJson(jsonObject) {
if (jsonObject == null) return null;
const result = new Extension();
result.data = jsonObject["data"];
result.type = jsonObject["type"];
return result;
}
toJson() {
return {
"data": this.data,
"type": this.type,
}
}
}