DevicesLogs.fromJson(Map<String, dynamic> json, Property prop) : this.list = json.containsKey('body') ? getSensorData(json, prop) : [];