filesDir property

Future<Directory> filesDir

Returns the absolute path to the directory on the filesystem where files created with openFileOutput(String, int) are stored.

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

Implementation

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