dataDir property

Future<Directory> dataDir

Returns the absolute path to the directory on the filesystem where all private files belonging to this app are stored.

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

Implementation

static Future<Directory> get dataDir async {
  assert(_platform.isAndroid);
  return Directory(await _channel.invokeMethod('getDataDir') as String);
}