getCurrentDeviceInfo method
Implementation
@override
Future<NearbyDeviceInfo?> getCurrentDeviceInfo() async {
return NearbyDeviceMapper.instance
.mapToDevice(
await methodChannel.invokeMethod('getCurrentDevice'),
)
?.info;
}