isNotOfType method

bool isNotOfType(
  1. Type type
)

isNotOfType: Checks if the object is not of the specified (runtimeType) type.

Implementation

bool isNotOfType(Type type) {
  var runtimeType = this.runtimeType;
  return runtimeType != type;
}