Matcher.host constructor

Matcher.host(
  1. Pattern host, {
  2. bool isOptional = false,
})

Implementation

factory Matcher.host(Pattern host, {bool isOptional = false}) =>
    HostMatcher(host, isOptional: isOptional);