COSCORSRule class

Constructors

COSCORSRule({required List<String> allowedOrigins, required List<String> allowedMethods, required List<String> allowedHeaders, required List<String> exposeHeaders, required int maxAgeSeconds, String? id})
COSCORSRule.fromXml(XmlElement? xml)
factory

Properties

allowedHeaders List<String>
getter/setter pair
allowedMethods List<String>
getter/setter pair
allowedOrigins List<String>
getter/setter pair
exposeHeaders List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
maxAgeSeconds int
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
toString() String
A string representation of this object.
inherited
toXml() → XmlDocument
toXmlString() String

Operators

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