packageCodePath property

Future<File> packageCodePath

Return the full path to this context's primary Android package. The Android package is a ZIP file which contains application's primary code and assets.

See: https://developer.android.com/reference/android/content/Context#getPackageCodePath()

Implementation

static Future<File> get packageCodePath async {
  assert(_platform.isAndroid);
  return File(await _channel.invokeMethod('getPackageCodePath') as String);
}