isNotOfTypeAny method

bool isNotOfTypeAny(
  1. List<Type> types
)

isNotOfTypeAny: Checks if the object is not of any of the specified (runtimeType) types.

Implementation

bool isNotOfTypeAny(List<Type> types) {
  var runtimeType = this.runtimeType;
  return types.any((type) => runtimeType != type);
}