copyWithScope method

Connector copyWithScope(
  1. String scope
)

Returns copy if this connector with overriden scope value

scope - scope string that will replace initial value

Implementation

Connector copyWithScope(String scope) {
  return Connector(
    type: type,
    input: input,
    inputForIndex: inputForIndex,
    count: count,
    scope: scope,
    isAsync: isAsync,
    initializationOrder: initializationOrder,
    awaitInitialization: awaitInitialization,
    withoutConnections: withoutConnections,
    isLazy: isLazy,
  );
}