TypeMatcher<T> constructor

const TypeMatcher<T>([@Deprecated('Provide a type argument to TypeMatcher and omit the name. ' 'This argument will be removed in the next release.') String name ])

Implementation

const TypeMatcher(
    [@Deprecated('Provide a type argument to TypeMatcher and omit the name. '
        'This argument will be removed in the next release.')
        String name])
    : this._name =
          // ignore: deprecated_member_use
          name;