Manually trigger a refresh of the user's latest active entitlements from the Nami services.
NamiEntitlementManager.refresh()
NamiEntitlementManager.refresh(refreshCallBack: (List<NamiEntitlement>?) -> Unit)
static Future<List<NamiEntitlement>> refresh() async
import {NamiEntitlementManager, NamiEntitlement} from 'react-native-nami-sdk';
NamiEntitlementManager.refresh((newEtitlements) => {
console.log('newEtitlements', newEtitlements);
});
NamiEntitlementManager.Refresh(RefreshCallback);
void RefreshCallback(List<NamiEntitlement> entitlements)
{
// on refresh
}