Header.fromJson constructor

Header.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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