factory HeaderEntry.fromJson(Map<String, dynamic> json) { return HeaderEntry( name: json['name'] as String, value: json['value'] as String, ); }