fromJson static method
Allows you to deserialize object.
Implementation
static DocFeature? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = DocFeature();
result._type = jsonObject["type"];
result._data = BytesData.fromJson(jsonObject["data"]);
return result;
}