toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "ipAddress": ipAddress,
    "portNumber": portNumber,
    "btAddress": btAddress,
    "iOSBtPath": _btIOsPath,
    "localName": localName,
    "port": port.toMap(),
    "labelName": labelName.toMap()
  };
}