registerClassAlias method
GEN-074: Registers a class alias (type alias).
Type aliases like typedef MaterialStateProperty<T> = WidgetStateProperty<T>
are registered so that D4rt scripts can use the alias name.
aliasName The alias name (e.g., 'MaterialStateProperty').
targetName The target class name (e.g., 'WidgetStateProperty').
library The library path where this alias is exported from.
Implementation
void registerClassAlias(String aliasName, String targetName, String library) {
_classAliases.add((
aliasName: aliasName,
targetName: targetName,
library: library,
));
}