getPackageName function

Future<String> getPackageName()

Implementation

Future<String> getPackageName() async {
  return (await getPackageInfo()).packageName.validate();
}