getVersionName function
android versionName ios buildName
Implementation
Future<String?> getVersionName() async {
if (!supportPlatform) return null;
final AppInfoModel? appInfoModel = await getPackageInfo();
return appInfoModel?.versionName;
}