Header.fromJson constructor
Header.fromJson(
- Map json_
Implementation
Header.fromJson(core.Map json_)
: this(
glob: json_.containsKey('glob') ? json_['glob'] as core.String : null,
headers: json_.containsKey('headers')
? (json_['headers'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
regex:
json_.containsKey('regex') ? json_['regex'] as core.String : null,
);