createDefaultParameters method

Future<RouteParameters> createDefaultParameters()

Creates default parameters.

Generates default parameters.

Return Value: A Future that returns a RouteParameters.

Implementation

Future<RouteParameters> createDefaultParameters() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_RouteTask_createDefaultParametersAsync(
      _handle,
      errorHandler,
    );
  });
  return taskHandle.toFuture(
    (element) => element.getValueAsRouteParameters()!,
  );
}