isInstance method

bool isInstance(
  1. Object? value
)

Whether value is a T (or a subtype).

Implementation

bool isInstance(Object? value) => value is T;