isOfTypeAny: Checks if the object is of any of the specified (runtimeType) types.
bool isOfTypeAny(List<Type> types) { var runtimeType = this.runtimeType; return types.any((type) => runtimeType == type); }