isExactlyType method Null safety

bool isExactlyType(
  1. DartType staticType
)

Returns true if representing the exact same type as staticType.

Implementation

bool isExactlyType(DartType staticType) => isExactly(staticType.element!);