matches method

bool matches(
  1. Object? value
)

Implementation

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