PlatformService constructor

PlatformService()

Implementation

PlatformService() {
  PackageInfo.fromPlatform().then(
    (value) {
      _appVersion = value.version;
      _appName = value.appName;
      _packageName = value.packageName;
    },
  );
}