init static method
Implementation
static Future<void> init() async {
PackageInfo packageInfo = await PackageInfo.fromPlatform();
AppInfo.version = packageInfo.version;
AppInfo.buildNumber = packageInfo.buildNumber;
AppInfo.isAndroid = Platform.isAndroid;
AppInfo.isIOS = Platform.isIOS;
}