configure method

Future<void> configure()

Creates CXCallController in native code.

Must be used before any other interactions with FCXCallController.

Implementation

Future<void> configure() async {
  try {
    String method = 'configure';
    await _methodChannel.invokeMethod('$_CALL_CONTROLLER.$method');
    _FCXLog._i(runtimeType, method);
  } on PlatformException catch (e) {
    var exception = FCXException(e.code, e.message);
    _FCXLog._e(runtimeType, exception);
    throw exception;
  }
}