getDeviceId property
Returns the unique device id string set by Kochava or an empty string if the SDK is not started.
Implementation
Future<String> get getDeviceId async {
try {
return await _channel.invokeMethod('getDeviceId');
} catch (e) {
print("Kochava/Tracker/Flutter Error: getDeviceId: $e");
return Future.value("");
}
}