getExternalStorageDirectory static method
Equivalent to android's Environment.getExternalStorageDirectory().getPath(). Return system's external storage path
Implementation
static Future<String?> getExternalStorageDirectory() async {
if (!Platform.isAndroid) throw UnsupportedError("Only Works in Android");
return await _channel.invokeMethod(_getExDirectory);
}