HeaderOperations.fromJson constructor
Creates a HeaderOperations from JSON data.
Implementation
HeaderOperations.fromJson(Map<String, dynamic> json)
: this(
set: json['set'] != null
? Map<String, String>.from(json['set'])
: null,
add: json['add'] != null
? Map<String, String>.from(json['add'])
: null,
remove:
json['remove'] != null ? List<String>.from(json['remove']) : null,
);