getExternalStorageDirectory function
- @Deprecated('Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.')
Equivalent to Environment.getExternalStorageDirectory
Implementation
@Deprecated(
'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.',
)
Future<Directory?> getExternalStorageDirectory() async {
const kGetExternalStorageDirectory = 'getExternalStorageDirectory';
return invokeVoidEnvironmentMethod(kGetExternalStorageDirectory);
}