buildDeclarationRef method

  1. @override
DeclarationRef buildDeclarationRef(
  1. String identifier,
  2. ReferenceType type
)
override

Builds a declaration reference for the given identifier and type.

Implementation

@override
DeclarationRef buildDeclarationRef(String identifier, ReferenceType type) {
  return DeclarationRef(
    identifier: identifier,
    srcId: src.id,
    srcUri: resolver.uriForAsset(src.id),
    providerId: src.id,
    type: type,
  );
}