fromJson static method
Allows you to deserialize object.
Implementation
static DeviceEngagement? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = DeviceEngagement();
for (var item in jsonObject["deviceRetrievalMethods"]) {
result.deviceRetrievalMethods
.addSafe(DeviceRetrievalMethod.fromJson(item));
}
return result;
}