fromJson static method
Allows you to deserialize object.
Implementation
static DeviceEngagement? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = DeviceEngagement();
result.deviceRetrievalMethods =
(jsonObject["deviceRetrievalMethods"] as List).map((item) => DeviceRetrievalMethod.fromJson(item)!).toList();
return result;
}