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