Device.fromJson constructor

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

Create a new instance from a json

Implementation

factory Device.fromJson(Map<String, dynamic> json) => _$DeviceFromJson(json);