addResolvedResultSet method

void addResolvedResultSet(
  1. String? name,
  2. ResultSetAvailableInStatement resultSet
)

Adds an added result set to this scope.

This operation is not supported for all kinds of scopes, a StateError is thrown for invalid scopes.

Implementation

void addResolvedResultSet(
    String? name, ResultSetAvailableInStatement resultSet) {
  throw StateError('Result set cannot be added in this scope: $this');
}