in src/abstract-object.js [25:37]
constructor() {
this._data = {};
if (this.constructor.Fields === undefined) {
throw new Error(
'A "Fields" frozen object must be defined in the object class',
);
}
let fields: any = this.constructor.Fields;
this._fields = Object.keys(fields);
this._fields.forEach(field => {
this._defineProperty(field);
});
}