dataDirectory property

Future<Directory> dataDirectory

Return the user data directory.

See: https://developer.android.com/reference/android/os/Environment#getDataDirectory()

Implementation

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