Depth enum

Depth Header, value may be 0, 1 or infinity.

see: https://datatracker.ietf.org/doc/html/rfc4918#section-10.2

Inheritance
Available extensions

Values

resource → const Depth

Depth: 0, only to the resource.

const Depth('0')
members → const Depth

Depth: 1, resource and its internal members only.

const Depth('1')
all → const Depth

Depth: infinity, resource and all its members.

const Depth('infinity')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Operators

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

Static Methods

fromName(String value) → Depth?

Constants

headerKey → const String
values → const List<Depth>
A constant List of the values in this enum, in order of their declaration.