packageResourcePath property

Future<File> packageResourcePath

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

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

Implementation

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