DeviceStats.fromJson constructor
Implementation
factory DeviceStats.fromJson(Map<String, dynamic> json) {
return DeviceStats(
connectedDeviceCount: json['ConnectedDeviceCount'] as int,
registeredDeviceCount: json['RegisteredDeviceCount'] as int,
);
}