isEqualTo method

bool isEqualTo(
  1. Type type
)

Checks if the given this is of type Type.

Implementation

bool isEqualTo(Type type) => equals(type);