configureWithApiKey method

Future<(bool, String?)> configureWithApiKey(
  1. ApiKeyConnectionConfig config
)

Implementation

Future<(bool success, String? error)> configureWithApiKey(
    ApiKeyConnectionConfig config) async {
  var response = await _bridge.invokeMethod(
    "configureWithApiKey",
    [config.toJson()],
  );
  return _completionFromJson(response) as (bool, String?);
}