DeviceProfileInfo.fromJson constructor
Implementation
DeviceProfileInfo.fromJson(Map<String, dynamic> json)
: type = deviceProfileTypeFromString(json['type']),
transportType = deviceTransportTypeFromString(json['transportType']),
defaultDashboardId = json['defaultDashboardId'] != null
? DashboardId.fromJson(json['defaultDashboardId'])
: null,
image = json['image'],
tenantId = TenantId.fromJson(json['tenantId']),
super.fromJson(json);