RelatedQueryParameters.withRelationshipInfo constructor

RelatedQueryParameters.withRelationshipInfo(
  1. RelationshipInfo relationshipInfo
)

Creates related query parameters with the specified relationship information.

Parameters:

  • relationshipInfo — The relationship information between related tables.

Implementation

factory RelatedQueryParameters.withRelationshipInfo(
  RelationshipInfo relationshipInfo,
) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_RelatedQueryParameters_createWithRelationshipInfo(
      relationshipInfo._handle,
      errorHandler,
    );
  });
  final RelatedQueryParameters object =
      RelatedQueryParameters._withHandle(handle);
  object._relationshipInfo.cache(relationshipInfo);
  return object;
}