Headers.fromMap constructor

Headers.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Headers.fromMap(Map<String, dynamic> map) {
  return Headers(
    name: map['name'].toString(),
    value: map['value'].toString(),
  );
}