ResponseType enum Null safety

Inheritance

Constructors

ResponseType(String value)
const

Values

basic → const ResponseType
ResponseType('basic')
cors → const ResponseType
ResponseType('cors')
valueDefault → const ResponseType
ResponseType('default')
error → const ResponseType
ResponseType('error')
opaque → const ResponseType
ResponseType('opaque')
opaqueredirect → const ResponseType
ResponseType('opaqueredirect')

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromValue(String value) ResponseType
fromValues(Iterable<String> values) Iterable<ResponseType>

Constants

values → const List<ResponseType>
A constant List of the values in this enum, in order of their declaration.
[basic, cors, valueDefault, error, opaque, opaqueredirect]