check method

bool check(
  1. dynamic obj
)

Implementation

bool check(final obj) {
    return (obj is T && _strict == false) || (_strict == true && obj is T && obj.runtimeType.toString() == type);
}