retrieveInstallAttribution method
Retrieve install attribution data from the server.
Implementation
Future<KochavaTrackerInstallAttribution> retrieveInstallAttribution() async {
try {
return Future.value(
KochavaTrackerInstallAttribution(
json.decode(
await _channel.invokeMethod(
'retrieveInstallAttribution',
),
),
),
);
} catch (e) {
_log("Error: retrieveInstallAttribution: $e");
return Future.value(KochavaTrackerInstallAttribution.withDefaults());
}
}