TypeChecker.fromPackage constructor

const TypeChecker.fromPackage(
  1. String packageName
)

Checks that the element comes from a specific package.

Implementation

const factory TypeChecker.fromPackage(String packageName) = _PackageChecker;