noBackupFilesDir property

Future<Directory> noBackupFilesDir

Returns the absolute path to the directory where files placed under this directory will be excluded from automatic backup to remote storage.

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

Implementation

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