getChannelName method
Implementation
Future<String?> getChannelName() async {
dynamic result;
try {
result = await instance.invokeMethod('getChannelName');
channelName = result;
} on PlatformException catch (e) {
channelName = "Failed to Invoke: getChannelName'${e.message}'.";
}
return result;
}