getPicturesPath method
Implementation
@override
Future<String?> getPicturesPath() async {
try {
if (!Platform.isAndroid) throw _unsupportedPlatformException();
return await methodChannel.invokeMethod<String>('getPicturesPath');
} on PlatformException catch (e) {
debugPrint('Error getting pictures path: ${e.message}');
return null;
}
}