isExactly method

  1. @override
bool isExactly(
  1. DartType other
)
override

Determines if this type is exactly the same as other.

Implementation

@override
bool isExactly(DartType other) {
  if (other is TypeAliasTypeImpl) {
    return name == other.name && declarationRef.srcId == other.declarationRef.srcId;
  }
  return false;
}