isValid method

bool isValid()

Implementation

bool isValid() {
  return isSubtype<Child, Parent>();
}