isExactlyType method

bool isExactlyType(
  1. DartType staticType
)

Returns true if representing the exact same type as staticType.

Implementation

bool isExactlyType(DartType staticType) {
  final element = staticType.element;
  return element != null && isExactly(element);
}