configureWithToken method

Future<(List<String>?, String?)> configureWithToken(
  1. TokenConnectionConfig config
)

Implementation

Future<(List<String>? workflowIds, String? error)> configureWithToken(
  TokenConnectionConfig config,
) async {
  var response = await _bridge.invokeMethod(
    "configureWithToken",
    [config.toJson()],
  );
  return _completionFromJson(
    response,
    fromJson: (json) => (json as List<dynamic>?)?.cast<String>(),
  );
}