BucketCors class

Constructors

BucketCors()
BucketCors.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
maxAgeSeconds int
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
read / write
method List<String>
The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
read / write
origin List<String>
The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
read / write
responseHeader List<String>
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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