isExternalStorageEmulated property

Future<bool> isExternalStorageEmulated

Returns whether the primary shared/external storage media is emulated.

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

Implementation

static Future<bool> get isExternalStorageEmulated async {
  assert(_platform.isAndroid);
  return await _channel.invokeMethod('isExternalStorageEmulated') as bool;
}