getChannelName method

void getChannelName()

Implementation

void getChannelName() async{
  try {
    final String result = await instance.invokeMethod('getChannelName');
    channelName = result;
  } on PlatformException catch (e) {
    channelName = "Failed to Invoke: getChannelName'${e.message}'.";
  }

}