HttpQueryParameterMatch.fromJson constructor
HttpQueryParameterMatch.fromJson(
- Object? j
Implementation
factory HttpQueryParameterMatch.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return HttpQueryParameterMatch(
exactMatch: switch (json['exactMatch']) {
null => null,
Object $1 => decodeString($1),
},
name: switch (json['name']) {
null => null,
Object $1 => decodeString($1),
},
presentMatch: switch (json['presentMatch']) {
null => null,
Object $1 => decodeBool($1),
},
regexMatch: switch (json['regexMatch']) {
null => null,
Object $1 => decodeString($1),
},
);
}