NearbyDeviceInfo constructor
const
NearbyDeviceInfo(
{ - required String displayName,
- required String id,
})
Used to connect to the device via id.
Depending on the platform, id means different parameters.
- For Android id is the MAC address of the device.
- For IOS id is the MCPeerID passed from the IOS platform.
Implementation
const NearbyDeviceInfo({
required this.displayName,
required this.id,
});