getChannels static method
Obtains the list of all notification channels.
Implementation
static Future<List<String>> getChannels() async {
final List<dynamic>? result = await _methodChannel.invokeMethod(
'getChannels',
);
final List<String> strList = (result ?? <dynamic>[]).cast<String>();
return strList;
}