isTopClass static method

bool isTopClass(
  1. ClassMirror classMirror
)

Returns whether the specified class is the top class (no super class).

Implementation

static bool isTopClass(ClassMirror classMirror)
  => Mirror.Object.qualifiedName == classMirror.qualifiedName || "void" == classMirror.qualifiedName;