HttpRouteQueryParameterMatch.fromJson constructor

HttpRouteQueryParameterMatch.fromJson(
  1. Map json_
)

Implementation

HttpRouteQueryParameterMatch.fromJson(core.Map json_)
    : this(
        exactMatch: json_.containsKey('exactMatch')
            ? json_['exactMatch'] as core.String
            : null,
        presentMatch: json_.containsKey('presentMatch')
            ? json_['presentMatch'] as core.bool
            : null,
        queryParameter: json_.containsKey('queryParameter')
            ? json_['queryParameter'] as core.String
            : null,
        regexMatch: json_.containsKey('regexMatch')
            ? json_['regexMatch'] as core.String
            : null,
      );