instanceOf method

bool instanceOf(
  1. Type type
)

Implementation

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