init method

Future<void> init()

Implementation

Future<void> init() async {
  PackageInfo packageInfo = await PackageInfo.fromPlatform();
  appName = packageInfo.appName;
}