getCurrentInstallationStatus method
Returns the current state of the installation details collected by Adapty Attribution.
Adapty Attribution is off by default; enable it with AdaptyConfiguration.withAdaptyAttributionEnabled. While it is off, the result is AdaptyInstallationStatusNotAvailable.
Implementation
Future<AdaptyInstallationStatus> getCurrentInstallationStatus() {
return _invokeMethod<AdaptyInstallationStatus>(
Method.getCurrentInstallationStatus,
(data) {
final installationDetailsMap = data as Map<String, dynamic>;
return AdaptyInstallationStatusJSONBuilder.fromJsonValue(installationDetailsMap);
},
null,
);
}