NamiEntitlementManager.refresh()
NamiEntitlementManager.refresh(refreshCallBack: (List<NamiEntitlement>?) -> Unit)
static Future<List<NamiEntitlement>> refresh() async
import {NamiEntitlementManager, NamiEntitlement} from 'react-native-nami-sdk';
NamiEntitlementManager.refresh((newEntitlements) => {
console.log('newEntitlements', newEntitlements);
});
NamiEntitlementManager.Refresh(RefreshCallback);
void RefreshCallback(List<NamiEntitlement> entitlements)
{
// on refresh
}