toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'deviceAddress': deviceAddress,
    'rssi': rssi,
    'scanRecord': scanRecord.toJson(),
  };
}