init static method
Implementation
static Future<void> init()
async
{
final pi.PackageInfo packageInfo = await pi.PackageInfo.fromPlatform();
appName = packageInfo.appName;
buildNumber = packageInfo.buildNumber;
packageName = packageInfo.packageName;
version = packageInfo.version;
}