getAllImages method

  1. @override
Future<List<String>> getAllImages()
override

Retrieves paths of all image files on device. Returns List< String> of absolute file paths. Example:

List<String> images = await MethodChannelMediaManager().getAllImages();

Implementation

@override
Future<List<String>> getAllImages() async {
  final List<dynamic> result = await methodChannel.invokeMethod(
    'getAllImages',
  );
  return result.cast<String>();
}