sendYandexDeviceId static method
Send yandex Id to Firebase if it was not send
Implementation
static Future<void> sendYandexDeviceId() async {
if (kIsWeb || !Platform.isAndroid && !Platform.isIOS) return;
if (DSPrefs.I.isYandexDeviceIdSent()) return;
assert(yandexId.isNotEmpty);
await FirebaseAnalytics.instance.setUserProperty(name: 'appmetrica_id', value: yandexId);
await reportEventWithMap('set appmetrica_id', {'appmetrica_id': yandexId});
DSPrefs.I.setYandexDeviceIdSent(true);
}