initialize method

Future<PackageInfo> initialize()

Implementation

Future<PackageInfo> initialize() async =>
    _packageInfo ??= (await PackageInfo.fromPlatform());