BluetoothData.fromMap constructor

BluetoothData.fromMap(
  1. dynamic map
)

Implementation

factory BluetoothData.fromMap(dynamic map) {
  return BluetoothData(
    deviceAddress: map['deviceAddress'],
    data: List<int>.from(map['data']),
  );
}