HttpHeaderMatch.fromJson constructor
HttpHeaderMatch.fromJson(
- Map json_
Implementation
HttpHeaderMatch.fromJson(core.Map json_)
: this(
exactMatch: json_.containsKey('exactMatch')
? json_['exactMatch'] as core.String
: null,
headerName: json_.containsKey('headerName')
? json_['headerName'] as core.String
: null,
invertMatch: json_.containsKey('invertMatch')
? json_['invertMatch'] as core.bool
: null,
prefixMatch: json_.containsKey('prefixMatch')
? json_['prefixMatch'] as core.String
: null,
presentMatch: json_.containsKey('presentMatch')
? json_['presentMatch'] as core.bool
: null,
rangeMatch: json_.containsKey('rangeMatch')
? Int64RangeMatch.fromJson(
json_['rangeMatch'] as core.Map<core.String, core.dynamic>)
: null,
regexMatch: json_.containsKey('regexMatch')
? json_['regexMatch'] as core.String
: null,
suffixMatch: json_.containsKey('suffixMatch')
? json_['suffixMatch'] as core.String
: null,
);