PairedDevice.fromJson constructor

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

Implementation

factory PairedDevice.fromJson(Map<String, dynamic> json) {
  return PairedDevice(
      name: json['name'],
      hardwareAddress: json['hardwareAddress'],
      socketId: json['socketId']);
}