TypeChecker.fromDart constructor
Create a new TypeChecker for a dart package type
.
For example:
const colorType = TypeChecker.fromDart('Color', package: 'ui');
Implementation
const factory TypeChecker.fromDart(String type, {required String package}) =
TypeCheckerImpl.fromDartType;