getMethodChannel method

MethodChannel getMethodChannel()

Gets the MethodChannel used for communication with the native platform.

This method must be implemented by platform-specific subclasses to return the appropriate method channel instance for communication with the native platform.

Implementation

MethodChannel getMethodChannel() {
  throw UnimplementedError('methodChannel() has not been implemented.');
}