addAgreeAppPrivacyLicenseCallback method
Implementation
void addAgreeAppPrivacyLicenseCallback(VoidCallback agreeCallback) {
if (isAgreeAppPrivacyLicense.value) {
agreeCallback.call();
} else {
once(isAgreeAppPrivacyLicense, (callback) {
if (callback) {
agreeCallback.call();
}
});
}
}