shareDevice method
Opens a new commissioning window and shares the device with another ecosystem/app via Google's ShareDevice API.
Implementation
@override
Future<bool?> shareDevice(int productId, int vendorId, int discriminator, int passCode) async {
return await methodChannel.invokeMethod<bool>('shareDevice', [
productId,
vendorId,
discriminator,
passCode,
]);
}