DeviceStats.fromJson constructor

DeviceStats.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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