isUpdateAllowed static method

Future<PlayxVersionUpdateResult<bool>> isUpdateAllowed({
  1. required PlayxAppUpdateType type,
})

returns PlayxVersionUpdateResult with bool isAllowed value on success.

Implementation

static Future<PlayxVersionUpdateResult<bool>> isUpdateAllowed(
    {required PlayxAppUpdateType type}) async {
  return PlayxVersionUpdatePlatform.instance.isUpdateAllowed(type);
}