getIdStringByPlatform static method
Implementation
static String? getIdStringByPlatform({required String androidId, required String testAndroidId, required String iosId, required String testIosId, bool isTest = true}) {
if (Platform.isAndroid) {
return getIdString(id: androidId, testId: testAndroidId, isTest: isTest);
} else if (Platform.isIOS) {
return getIdString(id: iosId, testId: testIosId, isTest: isTest);
} else {
return null;
}
}