getCurrentDeviceInfo method
Implementation
@override
Future<NearbyDeviceInfo?> getCurrentDeviceInfo() async {
final result = await methodChannel.invokeMethod('getCurrentDevice');
final updatedResult = ResultHandler.instance.handle(result);
return NearbyDeviceMapper.instance.mapToDevice(updatedResult)?.info;
}