getAllPaths method
Implementation
@override
Future<Map<String, String?>> getAllPaths() async {
try {
if (!Platform.isAndroid) throw _unsupportedPlatformException();
final result = await methodChannel.invokeMapMethod<String, String?>(
'getAllPaths',
);
return result ?? {};
} on PlatformException catch (e) {
debugPrint('Error getting all paths: ${e.message}');
return {};
}
}