BucketCors class

Constructors

BucketCors({int? maxAgeSeconds, List<String>? method, List<String>? origin, List<String>? responseHeader})
BucketCors.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxAgeSeconds int?
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
getter/setter pair
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".
getter/setter pair
origin List<String>?
The list of Origins eligible to receive CORS response headers.
getter/setter pair
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.
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