deviceToken method
remoteId is only used on Windows: the Entra ID object ID passed to
CreateChannelAsync (other platforms ignore it).
Implementation
@override
Future<String?> deviceToken({String? remoteId}) async {
final version =
await notificationsChannel.invokeMethod<String>(
'getDeviceToken', remoteId == null ? null : {'remoteId': remoteId});
return version;
}