Header class

A [Header](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

Constructors

Header.fromJson(Map json_)

Properties

glob String?
The user-supplied glob to match against the request URL path.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
The additional headers to add to the response.
getter/setter pair
regex String?
The user-supplied RE2 regular expression to match against the request URL path.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited