configureChannel method
void
configureChannel()
This function configures a method channel and sets a method call handler.
Implementation
void configureChannel() {
methodChannel = const MethodChannel(channelName);
methodChannel.setMethodCallHandler(methodHandler);
}