DeviceProperties.fromJson constructor

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

Creates a new instance of DeviceProperties from a JSON object.

Implementation

factory DeviceProperties.fromJson(Map<String, dynamic> json) {
  return DeviceProperties(
    manufacturer: json['manufacturer'],
    model: json['model'],
  );
}