getAllActivities method
Implementation
@override
Future<List<String>> getAllActivities() async {
try {
final String? data =
await _methodChannel.invokeMethod<String>('getAllActivities');
if (data == null) return <String>[];
return data.split(',');
} catch (e) {
return <String>[];
}
}