superClass property Null safety

ClassMirror? superClass

Implementation

ClassMirror? get superClass {
  try {
    return classMirror!.superclass;
  } catch (error) {
    return null;
  }
}