HTTPHeader.fromJson constructor
Creates a HTTPHeader from JSON data.
Implementation
factory HTTPHeader.fromJson(Map<String, dynamic> json) {
final tempNameJson = json['name'];
final tempValueJson = json['value'];
final String tempName = tempNameJson;
final String tempValue = tempValueJson;
return HTTPHeader(
name: tempName,
value: tempValue,
);
}