API Documentation for toMap.
Map<String, Object> toMap() => <String, Object>{ 'id': id, 'name': name, 'rssi': rssi, };